┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.h
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2020-08-12 20:45:17 +0200
committerElvis Angelaccio <[email protected]>2020-11-09 23:49:07 +0100
commitb6fc58c3c32b03f504a5f697b62c4834dc3f650a (patch)
treecda0394689ba6001bc14b1895c2ef95a4baf2dcd /src/dolphinviewcontainer.h
parent00abc6d28031569de17e4888d8b21e6afbe0872f (diff)
Adress the first round of Angelaccio's review comments
- Split the viewContainers(bool includeInActive) into two methods without parameters - Prevent users from accidently hiding all Url Navigators by preventing the dangerous action and then displaying a helpful message instead Unrelated to review comments: Remove a useless line of code
Diffstat (limited to 'src/dolphinviewcontainer.h')
-rw-r--r--src/dolphinviewcontainer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h
index 822d8072d..77c734949 100644
--- a/src/dolphinviewcontainer.h
+++ b/src/dolphinviewcontainer.h
@@ -140,8 +140,9 @@ public:
/**
* Shows the message \msg with the given type non-modal above
* the view-content.
+ * @return the KMessageWidget used to show the message
*/
- void showMessage(const QString& msg, MessageType type);
+ KMessageWidget *showMessage(const QString& msg, MessageType type);
/**
* Refreshes the view container to get synchronized with the (updated) Dolphin settings.