┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placespanel.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-05-14 14:57:08 +0200
committerPeter Penz <[email protected]>2012-05-14 14:58:34 +0200
commit77ad7c431ae8629c6c0539378c3d864a87bcd4c8 (patch)
tree02a89a1a416f310eacd3d45dc602848bd2113d21 /src/panels/places/placespanel.cpp
parent6e9713c558ad07b0baa2a79ae69328fda7b61a15 (diff)
PlacesItemModel: Automatically save bookmarks
Prevent that a manual call to save changed bookmarks is necessary.
Diffstat (limited to 'src/panels/places/placespanel.cpp')
-rw-r--r--src/panels/places/placespanel.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp
index bc639c0fb..75f765812 100644
--- a/src/panels/places/placespanel.cpp
+++ b/src/panels/places/placespanel.cpp
@@ -217,10 +217,8 @@ void PlacesPanel::slotItemContextMenuRequested(int index, const QPointF& pos)
editEntry(index);
} else if (action == removeAction) {
m_model->removeItem(index);
- m_model->save();
} else if (action == hideAction) {
item->setHidden(hideAction->isChecked());
- m_model->save();
} else if (action == openInNewTabAction) {
const KUrl url = m_model->item(index)->dataValue("url").value<KUrl>();
emit placeMiddleClicked(url);
@@ -337,8 +335,6 @@ void PlacesPanel::addEntry()
}
delete dialog;
-
- m_model->save();
}
void PlacesPanel::editEntry(int index)
@@ -364,8 +360,6 @@ void PlacesPanel::editEntry(int index)
}
delete dialog;
-
- m_model->save();
}
void PlacesPanel::selectClosestItem()