Remove use of c++11 feature and add some missing headers.

pull/29/head
Aesylwinn 9 years ago
parent 40297701d0
commit 3fa4fdb839

@ -4,6 +4,8 @@
#include <iostream> #include <iostream>
#include <QMetaEnum> #include <QMetaEnum>
#include <QRegExp>
#include <QStringList>
#include "shortcut.hpp" #include "shortcut.hpp"
@ -27,7 +29,7 @@ namespace CSMPrefs
{ {
if (it->second == shortcut) if (it->second == shortcut)
{ {
it = mShortcuts.erase(it); mShortcuts.erase(it++);
} }
else else
{ {
@ -45,7 +47,7 @@ namespace CSMPrefs
{ {
if (it->second == wrapper) if (it->second == wrapper)
{ {
it = mShortcutWrappers.erase(it); mShortcutWrappers.erase(it++);
} }
else else
{ {

Loading…
Cancel
Save