diff options
| author | Peter Penz <[email protected]> | 2012-05-21 21:43:26 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-05-21 21:48:45 +0200 |
| commit | 894232ebda5b2cf155a4f4e5bf1287eb700faa18 (patch) | |
| tree | 3eed796e481cb7d3f486d9032d46db57f172f803 /src/panels | |
| parent | 3b6892b68575e55cae4571f17ddc55dca4abba88 (diff) | |
Places Panel: Show drop indicator
The dropping itself has not been implemented yet.
Diffstat (limited to 'src/panels')
| -rw-r--r-- | src/panels/places/placesitemmodel.cpp | 6 | ||||
| -rw-r--r-- | src/panels/places/placesitemmodel.h | 3 | ||||
| -rw-r--r-- | src/panels/places/placespanel.cpp | 1 |
3 files changed, 0 insertions, 10 deletions
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp index 68311bbab..2a3dfa441 100644 --- a/src/panels/places/placesitemmodel.cpp +++ b/src/panels/places/placesitemmodel.cpp @@ -339,12 +339,6 @@ QMimeData* PlacesItemModel::createMimeData(const QSet<int>& indexes) const return mimeData; } -bool PlacesItemModel::supportsDropping(int index) const -{ - Q_UNUSED(index); - return true; -} - KUrl PlacesItemModel::convertedUrl(const KUrl& url) { KUrl newUrl = url; diff --git a/src/panels/places/placesitemmodel.h b/src/panels/places/placesitemmodel.h index 7225c04f4..18264f06a 100644 --- a/src/panels/places/placesitemmodel.h +++ b/src/panels/places/placesitemmodel.h @@ -108,9 +108,6 @@ public: /** @reimp */ virtual QMimeData* createMimeData(const QSet<int>& indexes) const; - /** @reimp */ - virtual bool supportsDropping(int index) const; - /** * @return Converts the URL, which contains "virtual" URLs for system-items like * "search:/documents" into a Nepomuk-Query-URL that will be handled by diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp index 0229d3cac..ccf9d8cff 100644 --- a/src/panels/places/placespanel.cpp +++ b/src/panels/places/placespanel.cpp @@ -76,7 +76,6 @@ void PlacesPanel::showEvent(QShowEvent* event) // used at all and stays invisible. m_model = new PlacesItemModel(this); m_model->setGroupedSorting(true); - m_model->setSortRole("group"); connect(m_model, SIGNAL(errorMessage(QString)), this, SIGNAL(errorMessage(QString))); |
