diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-07 00:18:36 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-07 00:18:36 +0100 |
commit | c8279e0c4a76db65547e6c711b8e7717e0d28059 (patch) | |
tree | e9e42a5cca514d600094afe8d4c03af2bd82ce23 /src/webview.cpp | |
parent | Fixed crash when closing rekonq with more than one tab (diff) | |
download | rekonq-c8279e0c4a76db65547e6c711b8e7717e0d28059.tar.xz |
No more QmessageBox here..
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 2e97c486..b14b4936 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -32,10 +32,8 @@ #include <QClipboard> #include <QMenu> -#include <QMessageBox> #include <QMouseEvent> #include <QWebHitTestResult> -//#include <QUiLoader> #include <QBuffer> @@ -53,7 +51,8 @@ WebPage::WebPage(QObject *parent) BrowserMainWindow *WebPage::mainWindow() { QObject *w = this->parent(); - while (w) { + while (w) + { if (BrowserMainWindow *mw = qobject_cast<BrowserMainWindow*>(w)) return mw; w = w->parent(); |