summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 63c5b6629..7d80464d9 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -558,7 +558,7 @@ void Window::setVisible(bool visible)
void Window::setVisible(bool visible, bool forceSticky)
{
- if (visible == isVisible())
+ if (visible == isWindowVisible())
return; // Nothing to do
// Check if the window is off screen...
@@ -886,7 +886,7 @@ void Window::saveWindowState()
config.setValue(mWindowName + "WinY", mDimension.y);
if (mSaveVisible)
- config.setValue(mWindowName + "Visible", isVisible());
+ config.setValue(mWindowName + "Visible", isWindowVisible());
if (mStickyButton)
config.setValue(mWindowName + "Sticky", isSticky());