mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-01-09 04:21:07 -05:00
Merge pull request #3085 from csoler/v0.6-Notify3
Some checks are pending
macOS Build / build (push) Waiting to run
MINGW64 Qt6 Build / build (push) Waiting to run
MINGW64 Qt5 Build / build (push) Waiting to run
UCRT64 Qt5 Build / build (push) Waiting to run
Ubuntu Qt 5 C/C++ CI / build (push) Waiting to run
Ubuntu Qt 6 C/C++ CI / build (push) Waiting to run
Some checks are pending
macOS Build / build (push) Waiting to run
MINGW64 Qt6 Build / build (push) Waiting to run
MINGW64 Qt5 Build / build (push) Waiting to run
UCRT64 Qt5 Build / build (push) Waiting to run
Ubuntu Qt 5 C/C++ CI / build (push) Waiting to run
Ubuntu Qt 6 C/C++ CI / build (push) Waiting to run
V0.6 notify3
This commit is contained in:
commit
8530bd486a
2 changed files with 7 additions and 5 deletions
|
|
@ -62,6 +62,8 @@ NetworkView::NetworkView(QWidget *parent)
|
|||
|
||||
_should_update = true ;
|
||||
|
||||
mEventHandlerId = 0;
|
||||
|
||||
rsEvents->registerEventsHandler( [this](std::shared_ptr<const RsEvent> event)
|
||||
{
|
||||
RsQThreadUtils::postToObject([=](){
|
||||
|
|
|
|||
|
|
@ -1401,11 +1401,11 @@ void RsFriendListModel::updateInternalData()
|
|||
|
||||
mTopLevel = TL;
|
||||
|
||||
if (TL.size()>0)
|
||||
{
|
||||
beginInsertRows(QModelIndex(),0,TL.size()-1);
|
||||
endInsertRows();
|
||||
}
|
||||
// if (TL.size()>0)
|
||||
// {
|
||||
// beginInsertRows(QModelIndex(),0,TL.size()-1);
|
||||
// endInsertRows();
|
||||
// }
|
||||
|
||||
endResetModel();
|
||||
postMods();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue