summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <gladhorn@kde.org>2016-10-08 11:53:53 (GMT)
committerFrederik Gladhorn <gladhorn@kde.org>2016-10-08 11:53:53 (GMT)
commit3007431d1a85ce4161f819ce18dd0f5b7fd65a71 (patch)
treecce1d8fa6b6570f76013d3016c6a18bcdd75d480
parentd64e59886896a5ae7d9fb524767abf03262c1977 (diff)
More macro removal and simplification
-rw-r--r--app/browsemainpage.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/browsemainpage.cpp b/app/browsemainpage.cpp
index 14e2010..5996ea2 100644
--- a/app/browsemainpage.cpp
+++ b/app/browsemainpage.cpp
@@ -170,10 +170,8 @@ struct BrowseMainPagePrivate : public Ui_BrowseMainPage
{
mFullScreenToolBar->setIconDimensions(KIconLoader::SizeMedium);
mFullScreenToolBar->setToolButtonStyle(Qt::ToolButtonIconOnly);
- #define addAction(name) mFullScreenToolBar->addAction(mActionCollection->action(name))
- addAction("browse");
- addAction("view");
- #undef addAction
+ mFullScreenToolBar->addAction(mActionCollection->action("browse"));
+ mFullScreenToolBar->addAction(mActionCollection->action("view"));
mFullScreenToolBar2->setIconDimensions(KIconLoader::SizeMedium);
mFullScreenToolBar2->setToolButtonStyle(Qt::ToolButtonIconOnly);