diff options
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))); |
