mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 12:46:35 +01:00
BrowserWindow: Always set "private" property to browser window
Set this property also when private mode is disabled
This commit is contained in:
parent
b8c5f6f75d
commit
8c8789a05f
@ -108,7 +108,6 @@ static QKeySequence actionShortcut(QKeySequence shortcut, QKeySequence fallBack,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BrowserWindow::BrowserWindow(Qz::BrowserWindowType type, const QUrl &startUrl)
|
||||
: QMainWindow(0)
|
||||
, m_startUrl(startUrl)
|
||||
@ -122,10 +121,7 @@ BrowserWindow::BrowserWindow(Qz::BrowserWindowType type, const QUrl &startUrl)
|
||||
setObjectName("mainwindow");
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
setWindowTitle(tr("QupZilla"));
|
||||
|
||||
if (mApp->isPrivate()) {
|
||||
setProperty("private", QVariant(true));
|
||||
}
|
||||
setProperty("private", mApp->isPrivate());
|
||||
|
||||
setupUi();
|
||||
setupMenu();
|
||||
|
Loading…
Reference in New Issue
Block a user