Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Müller <fmueller@owncloud.com>2021-04-22 15:26:31 +0300
committerHannah von Reth <vonreth@kde.org>2021-04-30 14:25:49 +0300
commit42cbcba3d1e883ec295cdec7a77eeb121228dd7d (patch)
treecc4b8c10441336ea6bebcdcca325d7c7b2dcad36 /src/gui/socketapi
parent018dc2a7be5a098ab35d40dcfc688528da4cef17 (diff)
Add separator above VFS menu entries
Should be ignored by older versions of the plugin.
Diffstat (limited to 'src/gui/socketapi')
-rw-r--r--src/gui/socketapi/socketapi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/socketapi/socketapi.cpp b/src/gui/socketapi/socketapi.cpp
index 1eb86cbbc..ff9bd29d6 100644
--- a/src/gui/socketapi/socketapi.cpp
+++ b/src/gui/socketapi/socketapi.cpp
@@ -1103,6 +1103,7 @@ void SocketApi::command_GET_MENU_ITEMS(const QString &argument, OCC::SocketListe
// TODO: Should be a submenu, should use icons
auto makePinContextMenu = [&](bool makeAvailableLocally, bool freeSpace) {
+ listener->sendMessage(QLatin1String("MENU_SEPARATOR:d::"));
listener->sendMessage(QLatin1String("MENU_ITEM:CURRENT_PIN:d:")
+ Utility::vfsCurrentAvailabilityText(*combined));
listener->sendMessage(QLatin1String("MENU_ITEM:MAKE_AVAILABLE_LOCALLY:")