Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
3f9931d9
Commit
3f9931d9
authored
Jan 10, 2020
by
Jean-Baptiste Mardelle
Browse files
Bin: ensure up button for icon view is hidden in tree view mode
parent
093bc9eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bin.cpp
View file @
3f9931d9
...
...
@@ -1837,11 +1837,7 @@ void Bin::slotInitView(QAction *action)
m_showDate
->
setEnabled
(
true
);
m_showDesc
->
setEnabled
(
true
);
m_showRating
->
setEnabled
(
true
);
m_upAction
->
setVisible
(
true
);
m_upAction
->
setEnabled
(
false
);
}
else
{
// remove the current folderUp item if any
m_upAction
->
setVisible
(
false
);
}
m_listType
=
static_cast
<
BinViewType
>
(
viewType
);
}
...
...
@@ -1855,12 +1851,14 @@ void Bin::slotInitView(QAction *action)
m_showDate
->
setEnabled
(
false
);
m_showDesc
->
setEnabled
(
false
);
m_showRating
->
setEnabled
(
false
);
m_upAction
->
setVisible
(
true
);
break
;
default:
m_itemView
=
new
MyTreeView
(
this
);
m_showDate
->
setEnabled
(
true
);
m_showDesc
->
setEnabled
(
true
);
m_showRating
->
setEnabled
(
true
);
m_upAction
->
setVisible
(
false
);
break
;
}
m_itemView
->
setMouseTracking
(
true
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment