From 00021fa93e42296a001e3d9b7968ca80f94fb196 Mon Sep 17 00:00:00 2001 From: "eric@webkit.org" Date: Wed, 12 Aug 2009 22:49:16 +0000 Subject: [PATCH] 2009-08-12 George Wright Reviewed by Adam Treat. Initialise zoom levels independent of whether a URL is valid or not to fix https://bugs.webkit.org/show_bug.cgi?id=28162 * QtLauncher/main.cpp: (MainWindow::MainWindow): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47156 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebKit/qt/ChangeLog | 10 ++++++++++ WebKit/qt/QtLauncher/main.cpp | 9 +++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog index 0cf6b5c0962..808bfa68872 100644 --- a/WebKit/qt/ChangeLog +++ b/WebKit/qt/ChangeLog @@ -1,3 +1,13 @@ +2009-08-12 George Wright + + Reviewed by Adam Treat. + + Initialise zoom levels independent of whether a URL is valid or not to + fix https://bugs.webkit.org/show_bug.cgi?id=28162 + + * QtLauncher/main.cpp: + (MainWindow::MainWindow): + 2009-08-12 Joerg Bornemann Reviewed by Simon Hausmann. diff --git a/WebKit/qt/QtLauncher/main.cpp b/WebKit/qt/QtLauncher/main.cpp index 9cbab537db0..1c4d0ee5b8c 100644 --- a/WebKit/qt/QtLauncher/main.cpp +++ b/WebKit/qt/QtLauncher/main.cpp @@ -103,11 +103,12 @@ public: urlEdit->setText(qurl.toEncoded()); view->load(qurl); - // the zoom values are chosen to be like in Mozilla Firefox 3 - zoomLevels << 30 << 50 << 67 << 80 << 90; - zoomLevels << 100; - zoomLevels << 110 << 120 << 133 << 150 << 170 << 200 << 240 << 300; } + + // the zoom values are chosen to be like in Mozilla Firefox 3 + zoomLevels << 30 << 50 << 67 << 80 << 90; + zoomLevels << 100; + zoomLevels << 110 << 120 << 133 << 150 << 170 << 200 << 240 << 300; } QWebPage* webPage() const { -- GitLab