1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Fix showing webview with Breeze style

Closes #1686
This commit is contained in:
David Rosca 2015-11-12 16:38:39 +01:00
parent d543426c0f
commit ac3d9b0f9b
2 changed files with 5 additions and 2 deletions

View File

@ -115,8 +115,10 @@ BrowserWindow::BrowserWindow(Qz::BrowserWindowType type, const QUrl &startUrl)
, m_isHtmlFullScreen(false)
, m_hideNavigationTimer(0)
{
setObjectName("mainwindow");
setAttribute(Qt::WA_DeleteOnClose);
setAttribute(Qt::WA_DontCreateNativeAncestors);
setObjectName("mainwindow");
setWindowTitle(tr("QupZilla"));
setProperty("private", mApp->isPrivate());

View File

@ -97,7 +97,8 @@ MainApplication::MainApplication(int &argc, char** argv)
, m_registerQAppAssociation(0)
#endif
{
setAttribute(Qt::AA_UseHighDpiPixmaps, true);
setAttribute(Qt::AA_UseHighDpiPixmaps);
setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
setApplicationName(QLatin1String("QupZilla"));
setOrganizationDomain(QLatin1String("qupzilla"));