diff options
| author | Peter Penz <[email protected]> | 2010-05-13 18:23:04 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-05-13 18:23:04 +0000 |
| commit | d64bbc333c5014fad116efc98b77cf3268fc07e0 (patch) | |
| tree | 32080e515af3f941b2d3c50456625285b258d714 /src/panels/places/placespanel.h | |
| parent | de2cc4bd599b8385f3b9953230da1067c1ea5713 (diff) | |
Reset the location to the home URL, if a place has been removed (e. g. a DVD has been ejected).
Thanks to Christian Mühlhäuser for the patch!
BUG: 231518
svn path=/trunk/KDE/kdebase/apps/; revision=1126336
Diffstat (limited to 'src/panels/places/placespanel.h')
| -rw-r--r-- | src/panels/places/placespanel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h index 1b6681af8..f39bdec47 100644 --- a/src/panels/places/placespanel.h +++ b/src/panels/places/placespanel.h @@ -1,5 +1,6 @@ /*************************************************************************** * Copyright (C) 2008 by Peter Penz <[email protected]> * + * Copyright (C) 2010 by Christian Muehlhaeuser <[email protected]> * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -38,6 +39,7 @@ signals: protected: virtual void mousePressEvent(QMouseEvent* event); + virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); private slots: void slotUrlsDropped(const KUrl& dest, QDropEvent* event, QWidget* parent); |
