summaryrefslogtreecommitdiff
path: root/src/frontend/keychooser/bthistory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/keychooser/bthistory.cpp')
-rw-r--r--src/frontend/keychooser/bthistory.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/frontend/keychooser/bthistory.cpp b/src/frontend/keychooser/bthistory.cpp
index 93651a5..22c9e69 100644
--- a/src/frontend/keychooser/bthistory.cpp
+++ b/src/frontend/keychooser/bthistory.cpp
@@ -2,7 +2,7 @@
*
* This file is part of BibleTime's source code, http://www.bibletime.info/.
*
-* Copyright 1999-2011 by the BibleTime developers.
+* Copyright 1999-2014 by the BibleTime developers.
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
*
**********/
@@ -44,8 +44,7 @@ void BTHistory::move(QAction* historyItem) {
//find the action in the list
m_index = m_historyList.indexOf(historyItem);
//move to the selected item in the list, it will be the current item
- QString newKey = m_historyList.at(m_index)->text();
- emit historyMoved(newKey); // signal to "outsiders"; key has been changed
+ emit historyMoved(m_historyList.at(m_index)->text()); // signal to "outsiders"; key has been changed
sendChangedSignal();
m_inHistoryFunction = false;