┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHannah von Reth <[email protected]>2019-10-01 23:48:41 +0200
committerHannah von Reth <[email protected]>2019-10-01 23:49:24 +0200
commit557fcfa937132c1d4aa55faa04bb47848c368baa (patch)
treeaa6dd7f34d0f56427d39335bc2c13be1f13f6593 /src
parent335b1f048ec115657fb2ed0bdd36282d8ffcc60f (diff)
Don't set Qt::WindowContextHelpButtonHint on Windows as it basically converts the window in to a dialog
Reviewers: ngraham, mlaurent, dfaure Reviewed By: ngraham Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D24340
Diffstat (limited to 'src')
-rw-r--r--src/dolphinmainwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 87f1e8404..83dcd1b18 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -96,7 +96,7 @@ namespace {
}
DolphinMainWindow::DolphinMainWindow() :
- KXmlGuiWindow(nullptr, Qt::WindowContextHelpButtonHint),
+ KXmlGuiWindow(nullptr),
m_newFileMenu(nullptr),
m_helpMenu(nullptr),
m_tabWidget(nullptr),
@@ -115,6 +115,9 @@ DolphinMainWindow::DolphinMainWindow() :
m_forwardAction(nullptr)
{
Q_INIT_RESOURCE(dolphin);
+#ifndef Q_OS_WIN
+ setWindowFlags(Qt::WindowContextHelpButtonHint);
+#endif
setComponentName(QStringLiteral("dolphin"), QGuiApplication::applicationDisplayName());
setObjectName(QStringLiteral("Dolphin#"));