[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-baseapps/Applications/15.04] dolphin/src: Save bookmarks when adding them via the context menu.
From: Emmanuel Pescosta <emmanuelpescosta099 () gmail ! com>
Date: 2015-03-21 16:29:45
Message-ID: E1YZMHR-0008QJ-Ed () scm ! kde ! org
[Download RAW message or body]
Git commit 89f912a3c7e8b88e07bfbe9774999dc5d103f122 by Emmanuel Pescosta.
Committed on 20/03/2015 at 10:56.
Pushed by emmanuelp into branch 'Applications/15.04'.
Save bookmarks when adding them via the context menu.
FIXED-IN: 15.04
BUG: 345347
REVIEW: 123080
M +2 -0 dolphin/src/dolphincontextmenu.cpp
http://commits.kde.org/kde-baseapps/89f912a3c7e8b88e07bfbe9774999dc5d103f122
diff --git a/dolphin/src/dolphincontextmenu.cpp b/dolphin/src/dolphincontextmenu.cpp
index e692c8f..cfa5c08 100644
--- a/dolphin/src/dolphincontextmenu.cpp
+++ b/dolphin/src/dolphincontextmenu.cpp
@@ -293,6 +293,7 @@ void DolphinContextMenu::openItemContextMenu()
const QString text = selectedUrl.fileName();
PlacesItem* item = model.createPlacesItem(text, selectedUrl);
model.appendItemToGroup(item);
+ model.saveBookmarks();
}
} else if (activatedAction == openParentInNewWindowAction) {
m_command = OpenParentFolderInNewWindow;
@@ -356,6 +357,7 @@ void DolphinContextMenu::openViewportContextMenu()
PlacesItem* item = model.createPlacesItem(container->placesText(),
container->url());
model.appendItemToGroup(item);
+ model.saveBookmarks();
}
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic