diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-19 00:20:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-19 00:20:07 +0300 |
commit | a5e3bb0e1600c36da180a47c4c6a0a0b9a260a7c (patch) | |
tree | b90c82e16217cf863fa0d295265e514185deea5d /src/gui/windows/whoisonline.cpp | |
parent | 4305bda4ccef81adabc6f4f23ed41c157256a0c1 (diff) | |
download | plus-a5e3bb0e1600c36da180a47c4c6a0a0b9a260a7c.tar.gz plus-a5e3bb0e1600c36da180a47c4c6a0a0b9a260a7c.tar.bz2 plus-a5e3bb0e1600c36da180a47c4c6a0a0b9a260a7c.tar.xz plus-a5e3bb0e1600c36da180a47c4c6a0a0b9a260a7c.zip |
Dont clean online list if curl error happened (legacy server only)
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 6 |
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")); |