summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/whoisonline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index cf999ae24..bfc72ca3b 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -667,9 +667,9 @@ void WhoIsOnline::slowLogic()
switch (mDownloadStatus)
{
case UPDATE_ERROR:
- mBrowserBox->clearRows();
- mBrowserBox->addRow("##1Failed to fetch the online list!");
- mBrowserBox->addRow(mCurlError);
+ logger->assertLog("Failed to fetch the online list:");
+ if (mCurlError)
+ logger->assertLog("%s", mCurlError);
mDownloadStatus = UPDATE_COMPLETE;
// TRANSLATORS: who is online window name
setCaption(_("Who Is Online - error"));