csoler
e5273fb887
fixed wrong implementation of parentRow causing loss of selected elements
2025-04-29 21:10:27 +02:00
thunder2
ccd1cfbde6
Added missing calls to preMods in RsFriendListModel::setDisplayStatusString and RsFriendListModel::setDisplayStatusIcon
2024-12-27 15:03:36 +01:00
thunder2
874748e7da
Use avatar for profile in RsFriendListModel of best node
2024-07-03 14:58:03 +02:00
thunder2
2c3b0a1c44
Fixed show best status icon for profile
2024-07-01 23:26:43 +02:00
thunder2
c8975bb2e9
Optimized avatar loading in RsFriendListModel
2024-07-01 16:48:52 +02:00
defnax
56b6b0cb5a
Added optional display status icon from friendslist context menu
2024-06-24 23:36:45 +02:00
csoler
794ec3576c
using statusRole instead of onlineRole to decide on node string
2024-06-13 11:08:28 +02:00
csoler
1b4886715d
fixed usage of statusRole in FriendListModel
2024-06-09 21:25:43 +02:00
csoler
7dfd6de15f
fixed bug showing peers offline when status service is remotely disabled
2024-06-07 11:26:35 +02:00
Vlad Pirlog
b5d40f7964
Add row count check in the RsFriendListModel::index method
...
Fix bug occurring after login where the app would crash unexpectedly.
Turns out there was an index out of bounds exception occurring in
the RsFriendListModel::index method.
2023-12-27 12:41:25 +02:00
csoler
11c07cd7c3
moved endResetModel() call to the endof internal data update in RsFriendListModel
2023-09-19 15:10:29 +02:00
defnax
dc0cddae7e
removed clean up old icons, replaced some by svg
2022-02-12 00:07:23 +01:00
hunbernd
e6d3ee978b
Fixes crash after: (EE) asked to create an invalidated profile that already exists
...
createInvalidatedProfile returned with iterator.end() in some cases.
updateInternalData dereferenced the result without checking it first.
It overindexed an array, read some memory trash, then wrote it into an another array.
2021-09-05 18:11:58 +02:00
Phenom
8ef464e21e
Fix Remove bad RS_ERR in FriendListModel
2021-03-13 13:05:07 +01:00
csoler
61a79b296e
fixed expanded group items in NewFriendList. Added more debug info
2021-03-10 20:43:43 +01:00
csoler
2b9a290a85
Merge pull request #2350 from csoler/v0.6-BugFixing_10
...
Bug fixing in FriendList
2021-02-28 19:59:57 +01:00
csoler
3356509044
removed regular update of node info in friend list model as it does not seem to be needed
2021-02-21 20:55:38 +01:00
Phenom
fb61186daa
Fix Uninitialised value in FriendListModel
2021-02-19 14:41:38 +01:00
Phenom
1293da2206
Fix NewFriendList item Font defined in QSS
2021-02-17 11:52:29 +01:00
Phenom
6b519838b1
Fix Friend List Status
2021-01-25 20:15:04 +01:00
Phenom
24ab1d6929
Fix for running with Self-Built Qt
...
beginRemoveRows(QModelIndex(),0,-1);
Failed because:
void QAbstractItemModel::beginRemoveRows(const QModelIndex &parent, int
first, int last)
{
Q_ASSERT(first >= 0);
Q_ASSERT(last >= first);
Q_ASSERT(last < rowCount(parent));
Last assert is important too.
So prefer use beginResetModel().
2021-01-19 14:25:35 +01:00
csoler
1a5a99f076
show last contact and IP on closed profiles to be the data of the most recent node
2020-12-17 21:17:17 +01:00
csoler
44444207f7
save/restore hidden columns when switching which column is visible in FriendList
2020-08-22 20:23:42 +02:00
csoler
7c5bf22931
improved safety of underlying data update for FriendListModel
2020-08-20 18:34:10 +02:00
csoler
3b7734c934
uniformise calls to [begin/end]ResetModel() and removed calls to layoutAboutToBeChanged() as it may cause some SIGSEGV
2020-08-16 22:17:54 +02:00
Phenom
e3846f981c
Fix warning: control reaches end of non-void function
...
../../../trunk/retroshare-gui/src/gui/common/FriendListModel.cpp: In
member function ‘QVariant RsFriendListModel::displayRole(const
RsFriendListModel::EntryIndex&, int) const’:
../../../trunk/retroshare-gui/src/gui/common/FriendListModel.cpp:716:1:
warning: control reaches end of non-void function [-Wreturn-type]
716 | }
| ^
2020-05-09 14:34:48 +02:00
csoler
02e939ac8f
replaced a bunch of explicit icons, mostly in abstract items models, by cached ones
2020-04-19 17:41:13 +02:00
csoler
11bc7a886a
fixed cmpilation error, where impossible case is not handled
2019-12-21 11:14:37 +01:00
csoler
a04d56e84e
fixed wrong default value for showUnconnected nodes
2019-09-23 19:44:20 +02:00
csoler
282d2d324d
added missing notifications when adding friends
2019-09-22 20:42:49 +02:00
csoler
b0c7f8f0ca
fixed display of non validated nodes without fingerprint
2019-09-10 22:01:06 +02:00
csoler
3a58aa468f
add special profile item for not yet validated peer from short invite
2019-09-10 09:52:37 +02:00
csoler
e0623e6178
fixed default avatar when no locations available
2019-09-04 21:42:21 +02:00
csoler
81e9cd1c51
show best icon for not expanded profiles in friend list
2019-09-04 21:35:17 +02:00
csoler
15e6947b07
use queued connections for notification signals in friend list, added a call to begin/endResetModel()
2019-08-30 13:57:27 +02:00
csoler
0ddeaaf810
increased spacing for groups to fit the group icon in friendlist
2019-08-27 13:41:19 +02:00
csoler
886d71e59c
keep groups sorted together, and auto-expand group when adding a profile to a group
2019-08-26 18:27:20 +02:00
csoler
8a7722388a
added missing layoutChanged() to model
2019-08-24 10:21:11 +02:00
csoler
978ce82243
switch 32bits implementation to a more compact mode allowing more profiles
2019-08-23 23:25:43 +02:00
csoler
4b55fc4789
fix int bugs in previous implementation
2019-08-23 23:08:29 +02:00
csoler
a9aa5225ca
fixed possible bug due to not checking returned value
2019-08-23 22:51:50 +02:00
csoler
cc32de8466
added specific index implementations for 32bits and 64bits
2019-08-23 22:46:56 +02:00
csoler
fdea4febbe
cleaned up the code, added icon for groups, only save/restore expanded items when changes are expected
2019-08-23 16:15:43 +02:00
csoler
1181e26bc5
removed debug output
2019-08-22 13:30:15 +02:00
csoler
6a8f6bf93d
save/restore expanded items and selection
2019-08-22 13:13:04 +02:00
csoler
15e43dce01
proper handling of peer connections notifications
2019-08-21 22:39:07 +02:00
csoler
a75a4945ec
added update every 5 mins to account for changes when sleeping
2019-08-20 21:27:59 +02:00
csoler
6a62227dba
cleanup up the code in FriendList, and fixed bug causing own locations not to show
2019-08-20 14:57:44 +02:00
csoler
b26be4db08
added more checks against inconsistencies
2019-08-19 22:56:49 +02:00
csoler
e0681828ee
fixed bug causing SEGV
2019-08-17 15:25:32 +02:00