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:
parent
3740913067
commit
6f6bba66f6
@ -154,8 +154,13 @@ QupZilla::QupZilla(Qz::BrowserWindow type, QUrl startUrl)
|
|||||||
|
|
||||||
QTimer::singleShot(0, this, SLOT(postLaunch()));
|
QTimer::singleShot(0, this, SLOT(postLaunch()));
|
||||||
|
|
||||||
|
if (mApp->isPrivateSession()) {
|
||||||
|
QzTools::setWmClass("QupZilla Browser (Private Window)", this);
|
||||||
|
}
|
||||||
|
else {
|
||||||
QzTools::setWmClass("QupZilla Browser", this);
|
QzTools::setWmClass("QupZilla Browser", this);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void QupZilla::openWithTab(WebTab* tab)
|
void QupZilla::openWithTab(WebTab* tab)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user