summaryrefslogtreecommitdiff
path: root/src/gui/debugwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-09 18:17:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-09 18:17:50 +0300
commit4aeceabb5d4f00e2555234951a2f5db24b008265 (patch)
tree16e970611e7cc05352f18a9385b9e26c72d498d8 /src/gui/debugwindow.cpp
parentdd4d44a07d3a63ced0eec51c30b75887792c4a36 (diff)
downloadmv-4aeceabb5d4f00e2555234951a2f5db24b008265.tar.gz
mv-4aeceabb5d4f00e2555234951a2f5db24b008265.tar.bz2
mv-4aeceabb5d4f00e2555234951a2f5db24b008265.tar.xz
mv-4aeceabb5d4f00e2555234951a2f5db24b008265.zip
Improve perfomance in windows and popups visibility checks.
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r--src/gui/debugwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index 781068c6c..726167a49 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -91,7 +91,7 @@ DebugWindow::~DebugWindow()
void DebugWindow::slowLogic()
{
BLOCK_START("DebugWindow::slowLogic")
- if (!isVisible() || !mTabs)
+ if (!isWindowVisible() || !mTabs)
{
BLOCK_END("DebugWindow::slowLogic")
return;