summaryrefslogtreecommitdiff
path: root/src/frontend/btbookshelfgroupingmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/btbookshelfgroupingmenu.cpp')
-rw-r--r--src/frontend/btbookshelfgroupingmenu.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/frontend/btbookshelfgroupingmenu.cpp b/src/frontend/btbookshelfgroupingmenu.cpp
index de2bcf6..c456f80 100644
--- a/src/frontend/btbookshelfgroupingmenu.cpp
+++ b/src/frontend/btbookshelfgroupingmenu.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.
*
@@ -12,8 +12,10 @@
#include "frontend/btbookshelfgroupingmenu.h"
+#include "bibletimeapp.h"
#include "util/cresmgr.h"
#include "util/directory.h"
+#include "util/geticon.h"
namespace {
@@ -48,12 +50,11 @@ inline const BtBookshelfTreeModel::Grouping &getActionRef(const QAction *a) {
void BtBookshelfGroupingMenu::initMenu(bool showNoGrouping) {
- namespace DU = util::directory;
namespace RM = CResMgr::mainIndex;
if (!groupsInitialized) initializeGroups();
- setIcon(DU::getIcon(RM::grouping::icon));
+ setIcon(util::getIcon(RM::grouping::icon));
m_groupingActionGroup = new QActionGroup(this);
m_groupingActionGroup->setExclusive(true);