diff options
| author | Peter Penz <[email protected]> | 2012-05-16 19:15:49 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-05-16 19:19:57 +0200 |
| commit | 2fd31c8a95eaa38defa0f6adf3b83b12fc1aa1a3 (patch) | |
| tree | c207e2e743e23f88a42b8eac5e5c3907c02ac745 /src/panels/places/placesitemmodel.cpp | |
| parent | a632e8b9ef43f3b3516012bc1c44f53f31c385da (diff) | |
Update trash-icon dependent on whether the thrash is empty or not
The class PlacesItemStorageAccessListener has been renamed to
PlacesItemSignalHandler and represents a generic signal handler
for the PlacesItem.
Diffstat (limited to 'src/panels/places/placesitemmodel.cpp')
| -rw-r--r-- | src/panels/places/placesitemmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp index 4fb86fda8..aaeab796e 100644 --- a/src/panels/places/placesitemmodel.cpp +++ b/src/panels/places/placesitemmodel.cpp @@ -761,8 +761,8 @@ void PlacesItemModel::hideItem(int index) const int newIndex = bookmarkIndex(index); if (newIndex >= 0) { - PlacesItem* hiddenItem = new PlacesItem(*shownItem); - const KBookmark hiddenBookmark = hiddenItem->bookmark(); + const KBookmark hiddenBookmark = shownItem->bookmark(); + PlacesItem* hiddenItem = new PlacesItem(hiddenBookmark); const PlacesItem* previousItem = placesItem(index - 1); KBookmark previousBookmark; |
