mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
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
This commit is contained in:
parent
335b1f048e
commit
557fcfa937
|
@ -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#"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue