mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +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() :
|
DolphinMainWindow::DolphinMainWindow() :
|
||||||
KXmlGuiWindow(nullptr, Qt::WindowContextHelpButtonHint),
|
KXmlGuiWindow(nullptr),
|
||||||
m_newFileMenu(nullptr),
|
m_newFileMenu(nullptr),
|
||||||
m_helpMenu(nullptr),
|
m_helpMenu(nullptr),
|
||||||
m_tabWidget(nullptr),
|
m_tabWidget(nullptr),
|
||||||
|
@ -115,6 +115,9 @@ DolphinMainWindow::DolphinMainWindow() :
|
||||||
m_forwardAction(nullptr)
|
m_forwardAction(nullptr)
|
||||||
{
|
{
|
||||||
Q_INIT_RESOURCE(dolphin);
|
Q_INIT_RESOURCE(dolphin);
|
||||||
|
#ifndef Q_OS_WIN
|
||||||
|
setWindowFlags(Qt::WindowContextHelpButtonHint);
|
||||||
|
#endif
|
||||||
setComponentName(QStringLiteral("dolphin"), QGuiApplication::applicationDisplayName());
|
setComponentName(QStringLiteral("dolphin"), QGuiApplication::applicationDisplayName());
|
||||||
setObjectName(QStringLiteral("Dolphin#"));
|
setObjectName(QStringLiteral("Dolphin#"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue