fixed wrong default value for showUnconnected nodes

This commit is contained in:
csoler 2019-09-23 19:44:20 +02:00
parent 282d2d324d
commit a04d56e84e
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@
#include "retroshare/rsexpr.h" #include "retroshare/rsexpr.h"
#include "retroshare/rsmsgs.h" #include "retroshare/rsmsgs.h"
#define DEBUG_MODEL //#define DEBUG_MODEL
//#define DEBUG_MODEL_INDEX //#define DEBUG_MODEL_INDEX
#define IS_MESSAGE_UNREAD(flags) (flags & (RS_MSG_NEW | RS_MSG_UNREAD_BY_USER)) #define IS_MESSAGE_UNREAD(flags) (flags & (RS_MSG_NEW | RS_MSG_UNREAD_BY_USER))

View File

@ -441,7 +441,7 @@ void NewFriendList::processSettings(bool load)
if (load) // load settings if (load) // load settings
{ {
// states // states
setShowUnconnected(!Settings->value("hideUnconnected", mProxyModel->showOfflineNodes()).toBool()); setShowUnconnected(!Settings->value("hideUnconnected", !mProxyModel->showOfflineNodes()).toBool());
setShowState(Settings->value("showState", mModel->getDisplayStatusString()).toBool()); setShowState(Settings->value("showState", mModel->getDisplayStatusString()).toBool());
setShowGroups(Settings->value("showGroups", mModel->getDisplayGroups()).toBool()); setShowGroups(Settings->value("showGroups", mModel->getDisplayGroups()).toBool());