summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 17:19:44 (GMT)
committerMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 17:19:44 (GMT)
commit3a00f4e9c080e02f78c67c782ae921d876e19dd3 (patch)
treeb34d23f4a7f6c04ce6ff76d7b2f219a226018ed6
parentdcba48cbd338e4408a2a07dbadc15e1f623190dd (diff)
Remove unnecessary build warning
KDialog::makeStandardCaption() is not necessary anymore. Quoting David: I made Qt add the application name to the titlebar automatically on desktop platforms. So don't add it again in the application code. From https://mail.kde.org/pipermail/kde-frameworks-devel/2014-August/018143.html
-rw-r--r--ui/presentationwidget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/presentationwidget.cpp b/ui/presentationwidget.cpp
index b95ca91..4746f28 100644
--- a/ui/presentationwidget.cpp
+++ b/ui/presentationwidget.cpp
@@ -150,7 +150,6 @@ PresentationWidget::PresentationWidget( QWidget * parent, Okular::Document * doc
caption = doc->currentDocument().fileName();
caption = i18nc( "[document title/filename] – Presentation", "%1 – Presentation", caption );
setWindowTitle( caption );
-#pragma message("KF5: Here was a makeStandardCaption, lost in KF5 port")
m_width = -1;
m_screen = -2;