From a252fe7db0d4ae93dad6e735a6cf25ec1d57e1d3 Mon Sep 17 00:00:00 2001 From: nowrep Date: Mon, 9 Jul 2012 23:45:49 +0200 Subject: [PATCH] Win: Fixed theme loading delay. - closes #388 --- src/lib/app/qupzilla.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/app/qupzilla.cpp b/src/lib/app/qupzilla.cpp index 16d1ff7a7..1aec2b5d7 100644 --- a/src/lib/app/qupzilla.cpp +++ b/src/lib/app/qupzilla.cpp @@ -114,6 +114,10 @@ QupZilla::QupZilla(Qz::BrowserWindow type, QUrl startUrl) m_isStarting = true; +#ifndef Q_WS_X11 + setUpdatesEnabled(false); +#endif + setupUi(); setupMenu(); @@ -123,7 +127,9 @@ QupZilla::QupZilla(Qz::BrowserWindow type, QUrl startUrl) void QupZilla::postLaunch() { +#ifdef Q_WS_X11 setUpdatesEnabled(false); +#endif loadSettings();