summaryrefslogtreecommitdiff
path: root/src/tabwindow
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/tabwindow
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/tabwindow')
-rw-r--r--src/tabwindow/tabwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabwindow/tabwidget.cpp b/src/tabwindow/tabwidget.cpp
index bb62ca27..322c45e1 100644
--- a/src/tabwindow/tabwidget.cpp
+++ b/src/tabwindow/tabwidget.cpp
@@ -415,7 +415,7 @@ void TabWidget::currentChanged(int newIndex)
void TabWidget::updateNewTabButtonPosition()
{
- if (isFullScreen())
+ if (window()->isFullScreen())
return;
setUpdatesEnabled(false);
@@ -825,7 +825,7 @@ void TabWidget::setFullScreen(bool makeFullScreen)
tabBar()->setVisible(!makeFullScreen);
_addTabButton->setVisible(!makeFullScreen);
- KToggleFullScreenAction::setFullScreen(this, makeFullScreen);
+ KToggleFullScreenAction::setFullScreen(window(), makeFullScreen);
for (int i = 0; i < count(); i++)
webWindow(i)->setWidgetsHidden(makeFullScreen);