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
GitLab 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
77dd698d
Commit
77dd698d
authored
10 years ago
by
Edric Milaret
Browse files
Options
Downloads
Patches
Plain Diff
history: fix expand being done too early
Refs #76415 Change-Id: I0912db7f2899f9b4f4a100bec149f075d20c0e6a
parent
013073c5
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
callwidget.cpp
+7
-3
7 additions, 3 deletions
callwidget.cpp
with
7 additions
and
3 deletions
callwidget.cpp
+
7
−
3
View file @
77dd698d
...
...
@@ -92,9 +92,13 @@ CallWidget::CallWidget(QWidget *parent) :
ui
->
historyList
->
setHeaderHidden
(
true
);
historyDelegate_
=
new
HistoryDelegate
();
ui
->
historyList
->
setItemDelegate
(
historyDelegate_
);
connect
(
CategorizedHistoryModel
::
SortedProxy
::
instance
()
->
model
(),
&
QSortFilterProxyModel
::
layoutChanged
,
[
=
]()
{
auto
idx
=
CategorizedHistoryModel
::
SortedProxy
::
instance
()
->
model
()
->
index
(
0
,
0
);
if
(
idx
.
isValid
())
ui
->
historyList
->
setExpanded
(
idx
,
true
);
});
ui
->
sortComboBox
->
setModel
(
CategorizedHistoryModel
::
SortedProxy
::
instance
()
->
categoryModel
());
...
...
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