Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-client-windows
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-client-windows
Commits
cce9d619
Commit
cce9d619
authored
6 years ago
by
Andreas Traczyk
Browse files
Options
Downloads
Patches
Plain Diff
smartlist: reset model when changing accounts
Change-Id: I0c00d35c5637cc4a8dd4b34778ad83351898c1ea
parent
68abac99
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
smartlistmodel.cpp
+2
-0
2 additions, 0 deletions
smartlistmodel.cpp
with
2 additions
and
0 deletions
smartlistmodel.cpp
+
2
−
0
View file @
cce9d619
...
@@ -151,5 +151,7 @@ Qt::ItemFlags SmartListModel::flags(const QModelIndex &index) const
...
@@ -151,5 +151,7 @@ Qt::ItemFlags SmartListModel::flags(const QModelIndex &index) const
void
void
SmartListModel
::
setAccount
(
const
std
::
string
&
accId
)
SmartListModel
::
setAccount
(
const
std
::
string
&
accId
)
{
{
beginResetModel
();
accId_
=
accId
;
accId_
=
accId
;
endResetModel
();
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment