Commit 702e59ee authored by David Edmundson's avatar David Edmundson
Browse files

Remove unused part of an expression

Code wants to add a separator if subsequent actions are going to be
added. This only uses Misc::app(KFI_VIEWER).
parent 01095327
......@@ -1412,7 +1412,7 @@ CFontListView::CFontListView(QWidget *parent, CFontList *model)
this, SIGNAL(enable()));
itsDisableAct=itsMenu->addAction(QIcon::fromTheme("disablefont"), i18n("Disable"),
this, SIGNAL(disable()));
if(!Misc::app(KFI_VIEWER).isEmpty() || !Misc::app(KFI_VIEWER).isEmpty())
itsPrintAct=Misc::app(KFI_VIEWER).isEmpty() ? 0L : itsMenu->addAction(QIcon::fromTheme("document-print"), i18n("Print..."),
this, SIGNAL(print()));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment