Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
d45df2a1
Commit
d45df2a1
authored
Jun 20, 2010
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: don't call browseInto if not needed when item changes
parent
f7d274ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+2
-1
No files found.
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
d45df2a1
...
...
@@ -159,7 +159,8 @@ void StandardPLPanel::gotoPlayingItem()
void
StandardPLPanel
::
handleExpansion
(
const
QModelIndex
&
index
)
{
assert
(
currentView
);
browseInto
(
index
.
parent
()
);
if
(
currentRootIndexId
!=
-
1
&&
currentRootIndexId
!=
model
->
itemId
(
index
.
parent
()
)
)
browseInto
(
index
.
parent
()
);
currentView
->
scrollTo
(
index
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment