Skip to content

Commit 7bfc473

Browse files
committed
disable system title bar by default
1 parent 0971f2d commit 7bfc473

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/core/sessionconfig.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void SessionConfig::loadCore(const QJsonObject &p_session) {
127127
if (!isUndefinedKey(coreObj, QStringLiteral("systemTitleBar"))) {
128128
m_systemTitleBarEnabled = readBool(coreObj, QStringLiteral("systemTitleBar"));
129129
} else {
130-
m_systemTitleBarEnabled = true;
130+
m_systemTitleBarEnabled = false;
131131
}
132132

133133
if (!isUndefinedKey(coreObj, QStringLiteral("minimizeToSystemTray"))) {

‎src/core/sessionconfig.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class SessionConfig : public IConfig {
198198
OpenGL m_openGL = OpenGL::None;
199199

200200
// Whether use system's title bar or not.
201-
bool m_systemTitleBarEnabled = true;
201+
bool m_systemTitleBarEnabled = false;
202202

203203
// Whether to minimize to tray.
204204
// -1 for prompting for user;

0 commit comments

Comments
 (0)