projects
/
vlc-remote
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small cosmetic tweak to browser item ordering. ensure '..' is always first.
[vlc-remote]
/
browsemainwindow.cpp
diff --git
a/browsemainwindow.cpp
b/browsemainwindow.cpp
index
7471551
..
15fcefd
100644
(file)
--- a/
browsemainwindow.cpp
+++ b/
browsemainwindow.cpp
@@
-179,6
+179,9
@@
void BrowseMainWindow::parseXmlDirectory() {
if (0 != QString::compare("directory", dir->type)) {
files->append(*dir);
}
+ else if (0 == QString::compare("..", dir->name)) {
+ this->mContents->prepend(*dir);
+ }
else {
this->mContents->append(*dir);
}