X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/75679f628a4052908112846b1e66bb06d90c32eb..e018ecafca79a73f1e9d76c577b9529fc3a7ae03:/src/selectionmode/bottombarcontentscontainer.h diff --git a/src/selectionmode/bottombarcontentscontainer.h b/src/selectionmode/bottombarcontentscontainer.h index 6cb66fcc1..10e7ba5fd 100644 --- a/src/selectionmode/bottombarcontentscontainer.h +++ b/src/selectionmode/bottombarcontentscontainer.h @@ -1,6 +1,6 @@ /* This file is part of the KDE project - SPDX-FileCopyrightText: 2022 Felix Ernst + SPDX-FileCopyrightText: 2022 Felix Ernst SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ @@ -52,7 +52,8 @@ public: return m_contents; }; - inline bool hasSomethingToShow() { + inline bool hasSomethingToShow() + { return contents() != BottomBar::GeneralContents || m_internalContextMenu; }