1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

X11: Use different WM_CLASS for private browsing window

This commit is contained in:
nowrep 2013-10-21 15:59:25 +02:00
parent 3740913067
commit 6f6bba66f6

View File

@ -154,7 +154,12 @@ QupZilla::QupZilla(Qz::BrowserWindow type, QUrl startUrl)
QTimer::singleShot(0, this, SLOT(postLaunch()));
QzTools::setWmClass("QupZilla Browser", this);
if (mApp->isPrivateSession()) {
QzTools::setWmClass("QupZilla Browser (Private Window)", this);
}
else {
QzTools::setWmClass("QupZilla Browser", this);
}
}
void QupZilla::openWithTab(WebTab* tab)