Fixed loading mouse shortcuts. Fixes #107.

This commit is contained in:
leozide 2017-08-25 18:21:34 -07:00
parent f2560c18e0
commit d263ce812c

View file

@ -205,7 +205,7 @@ bool lcMouseShortcuts::Load(const QStringList& Shortcuts)
for (const QString& Shortcut : Shortcuts)
{
QKeySequence KeySequence(Shortcut.mid(Equals + 1));
QKeySequence KeySequence(Shortcut);
if (KeySequence.isEmpty())
continue;