X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/261b741d5feb356c1fa8a8ac42397f53eb13ca75..38c34eeca:/src/selectionmode/bottombarcontentscontainer.h diff --git a/src/selectionmode/bottombarcontentscontainer.h b/src/selectionmode/bottombarcontentscontainer.h index 6d44adf74..560220258 100644 --- a/src/selectionmode/bottombarcontentscontainer.h +++ b/src/selectionmode/bottombarcontentscontainer.h @@ -52,7 +52,8 @@ public: return m_contents; }; - inline bool hasSomethingToShow() { + inline bool hasSomethingToShow() + { return contents() != BottomBar::GeneralContents || m_internalContextMenu; } @@ -74,7 +75,7 @@ Q_SIGNALS: /** * When it does not make sense to show any specific contents, this signal is emitted and the receiver hides the bar. - * Later it might sense to show it again e.g. because the user selected items. Then this signal is used to request showing of the bar. + * Later it might make sense to show it again e.g. because the user selected items. Then this signal is used to request showing of the bar. */ void barVisibilityChangeRequested(bool visible);