diff options
Diffstat (limited to 'src/frontend/settingsdialogs/btshortcutseditor.cpp')
-rw-r--r-- | src/frontend/settingsdialogs/btshortcutseditor.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/frontend/settingsdialogs/btshortcutseditor.cpp b/src/frontend/settingsdialogs/btshortcutseditor.cpp index f92a27e..d8fdfd8 100644 --- a/src/frontend/settingsdialogs/btshortcutseditor.cpp +++ b/src/frontend/settingsdialogs/btshortcutseditor.cpp @@ -2,7 +2,7 @@ * * This file is part of BibleTime's source code, http://www.bibletime.info/. * -* Copyright 1999-2009 by the BibleTime developers. +* Copyright 1999-2011 by the BibleTime developers. * The BibleTime source code is licensed under the GNU General Public License version 2.0. * **********/ @@ -157,10 +157,8 @@ void BtShortcutsEditor::commitChanges() { void BtShortcutsEditor::addCollection(BtActionCollection* collection, const QString& title) { Q_UNUSED(title); /// \todo Is this correct? - QList<QAction*> actionList = collection->actions(); - int count; - count = actionList.count(); foreach (QAction *action, collection->actions()) { + /// \todo Is the following check really necessary? if (action) { int count = m_table->rowCount(); m_table->insertRow(count); |