diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog index 0cf6b5c0962f67428487def2f4cbe1f8fdfe717e..808bfa68872e95c60b7bc5993c854ff9c9b9ef38 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 9cbab537db0cff95fa8f76c29acfbc1d20bf2ea1..1c4d0ee5b8cb4a030b0e9c91bec6d3b20cfca22b 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 {