summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r--src/gui/whoisonline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp
index 6a5ae8f70..b280ae4f8 100644
--- a/src/gui/whoisonline.cpp
+++ b/src/gui/whoisonline.cpp
@@ -607,7 +607,7 @@ void WhoIsOnline::slowLogic()
mUpdateTimer = cur_time;
double timeDiff = difftime(cur_time, mUpdateTimer);
- int timeLimit = isVisible() ? 20 : 120;
+ int timeLimit = isWindowVisible() ? 20 : 120;
if (mUpdateOnlineList && timeDiff >= timeLimit
&& mDownloadStatus != UPDATE_LIST)