summaryrefslogtreecommitdiff
path: root/src/webwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-03-11 23:36:21 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-03-11 23:36:21 +0100
commit0db5e49ef7f58b0533f742c33bb3391141d1182a (patch)
tree4c7eed456279e43ea10e720fc3d43bc445a9a548 /src/webwindow
parentGuess if url is on target blank and show different contextual actions (diff)
downloadrekonq-0db5e49ef7f58b0533f742c33bb3391141d1182a.tar.xz
Fix && clean up fullscreen mode
Diffstat (limited to 'src/webwindow')
-rw-r--r--src/webwindow/webwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp
index ab002459..1225fb07 100644
--- a/src/webwindow/webwindow.cpp
+++ b/src/webwindow/webwindow.cpp
@@ -150,7 +150,7 @@ WebWindow::WebWindow(QWidget *parent, bool isPrivateBrowsing, WebPage *pg)
updateHistoryActions();
- if (parent && parent->isFullScreen())
+ if (window()->isFullScreen())
setWidgetsHidden(true);
}