diff --git a/bin/data/default/profiles/default/background.png b/bin/data/default/profiles/default/background.png deleted file mode 100644 index 5678d984a..000000000 Binary files a/bin/data/default/profiles/default/background.png and /dev/null differ diff --git a/src/app/mainapplication.cpp b/src/app/mainapplication.cpp index 9c334f0de..599106329 100644 --- a/src/app/mainapplication.cpp +++ b/src/app/mainapplication.cpp @@ -671,7 +671,7 @@ bool MainApplication::checkSettingsDir() versionFile.write(QupZilla::VERSION.toAscii()); versionFile.close(); - if (rData.contains("1.0.0-b1")) // Data not changed from this version + if (rData.contains("1.0.0-b3")) // Data not changed from this version return true; dir.mkdir("profiles"); diff --git a/src/app/qupzilla.h b/src/app/qupzilla.h index 51d066837..d33f6a843 100644 --- a/src/app/qupzilla.h +++ b/src/app/qupzilla.h @@ -19,7 +19,7 @@ #define QUPZILLA_H //Comment for release building -#define DEVELOPING +//#define DEVELOPING #ifdef QT_NO_DEBUG #ifdef DEVELOPING diff --git a/src/tools/iconprovider.cpp b/src/tools/iconprovider.cpp index 9f5b053a4..6e63a92fb 100644 --- a/src/tools/iconprovider.cpp +++ b/src/tools/iconprovider.cpp @@ -112,7 +112,7 @@ QIcon IconProvider::standardIcon(QStyle::StandardPixmap icon) case QStyle::SP_ArrowForward: return QIcon(":/icons/faenza/forward.png"); - case QStyle::QStyle::SP_ArrowBack: + case QStyle::SP_ArrowBack: return QIcon(":/icons/faenza/back.png"); default: @@ -140,7 +140,7 @@ QPixmap IconProvider::standardPixmap(QStyle::StandardPixmap icon) case QStyle::SP_ArrowForward: return QPixmap(":/icons/faenza/forward.png"); - case QStyle::QStyle::SP_ArrowBack: + case QStyle::SP_ArrowBack: return QPixmap(":/icons/faenza/back.png"); default: diff --git a/src/webview/webview.cpp b/src/webview/webview.cpp index 0b6167bdd..1b3527c91 100644 --- a/src/webview/webview.cpp +++ b/src/webview/webview.cpp @@ -757,8 +757,11 @@ void WebView::load(const QUrl &url) if (QFile::exists(url.path())) #endif QWebView::load(url); - else - QWebView::load(QUrl("http://www.google.com/search?client=qupzilla&q="+url.toString())); + else { + QString urlString = "http://www.google.com/search?client=qupzilla&q=" + url.toString(); + QWebView::load(QUrl(urlString)); + m_locationBar->setText(urlString); + } } QUrl WebView::url() const