diff options
author | David Sanders <david@sandersweb.net> | 2014-10-09 12:41:00 +0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:58:58 -0400 |
commit | c04698777033d5a61b2609a45c07d3c139750604 (patch) | |
tree | e19e4ae01b98de59acfe4ae2df308eabf7cb2180 /src/frontend/btopenworkaction.cpp | |
parent | d40aeea533995281ebf64c52e69340764de6f3d9 (diff) | |
parent | 1ea03c0fce8066c1e22188447b4a6ca4dcef1201 (diff) |
Imported Debian patch 2.10.1-1
Diffstat (limited to 'src/frontend/btopenworkaction.cpp')
-rw-r--r-- | src/frontend/btopenworkaction.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/frontend/btopenworkaction.cpp b/src/frontend/btopenworkaction.cpp index 50d0d5f..a398412 100644 --- a/src/frontend/btopenworkaction.cpp +++ b/src/frontend/btopenworkaction.cpp @@ -4,7 +4,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. * @@ -14,8 +14,9 @@ #include "backend/bookshelfmodel/btbookshelffiltermodel.h" #include "backend/managers/cswordbackend.h" +#include "bibletimeapp.h" #include "frontend/btbookshelfgroupingmenu.h" -#include "util/directory.h" +#include "util/geticon.h" BtOpenWorkActionMenu::BtOpenWorkActionMenu(const QString &groupingConfigKey, @@ -33,10 +34,6 @@ BtOpenWorkActionMenu::BtOpenWorkActionMenu(const QString &groupingConfigKey, this, SLOT(slotIndexTriggered(QModelIndex))); } -BtOpenWorkActionMenu::~BtOpenWorkActionMenu() { - // Intentionally empty -} - void BtOpenWorkActionMenu::setSourceModel(QAbstractItemModel *model) { m_treeModel->setSourceModel(model); } @@ -81,7 +78,7 @@ BtOpenWorkAction::BtOpenWorkAction(const QString &groupingConfigKey, m_menu->setSourceModel(CSwordBackend::instance()->model()); setMenu(m_menu); - setIcon(util::directory::getIcon("folder-open.svg")); + setIcon(util::getIcon("folder-open.svg")); retranslateUi(); slotModelChanged(); |