Commit 42fc7502 authored by Stefan Majewsky's avatar Stefan Majewsky

Remove some unused code which I forgot to remove in the previous commit.

svn path=/trunk/KDE/kdegames/palapeli/; revision=1118471
parent df2810d6
......@@ -52,14 +52,6 @@ Palapeli::TriggerMapper::TriggerMapper()
m_keyModifierMap[Qt::Key_Control] = Qt::ControlModifier;
m_keyModifierMap[Qt::Key_Alt] = Qt::AltModifier;
m_keyModifierMap[Qt::Key_Meta] = Qt::MetaModifier;
//NOTE: I know that the following is ugly, but two copies of the key list are error-prone enough. ;-)
QMap<QByteArray, Palapeli::Interactor*> interactors = Palapeli::TriggerMapper::createInteractors(0);
QMap<QByteArray, Palapeli::Interactor*>::const_iterator it1 = interactors.begin(), it2 = interactors.end();
for (; it1 != it2; ++it1)
m_knownInteractors << it1.key();
delete it1.value();
//intialize dynamic data
......@@ -62,7 +62,6 @@ namespace Palapeli
QMap<QByteArray, Palapeli::Trigger> m_associations;
//quasi-static data
QList<QByteArray> m_knownInteractors;
QMap<Qt::Key, Qt::KeyboardModifier> m_keyModifierMap;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment