Message info
 
To:kde-commits@kde.org From:Shantanu Tushar Subject:[plasma-mediacenter] /: Dont sort Date:Sun, 18 Mar 2012 17:14:38 +0100 (CET)
 

Git commit 09f81df4ccffce983227fcbaa72c2bba74e34779 by Shantanu Tushar.
Committed on 18/03/2012 at 17:14.
Pushed by shantanu into branch 'master'.

Dont sort

M +0 -1 browsingbackends/metadatabackends/abstractmetadatamodel.cpp
M +1 -1 browsingbackends/metadatabackends/metadatavideobackend/metadatavideomodel.cpp
M +0 -7 components/mediabrowser/MediaBrowser.qml

http://commits.kde.org/plasma-mediacenter/09f81df4ccffce983227fcbaa72c2bba74e34779

diff --git a/browsingbackends/metadatabackends/abstractmetadatamodel.cpp b/browsingbackends/metadatabackends/abstractmetadatamodel.cpp
index ed19afb..89ec0c3 100644
--- a/browsingbackends/metadatabackends/abstractmetadatamodel.cpp
+++ b/browsingbackends/metadatabackends/abstractmetadatamodel.cpp
@@ -272,7 +272,6 @@ void AbstractMetadataModel::resetMetadataModel()
metadataModel()->setProperty("mimeType", "");
metadataModel()->setProperty("limit", "");
metadataModel()->setProperty("thumbnailSize", "");
- metadataModel()->setProperty("lazyLoading", false);

Q_FOREACH(const QString &key, map->keys()) {
map->clear(key);
diff --git a/browsingbackends/metadatabackends/metadatavideobackend/metadatavideomodel.cpp b/browsingbackends/metadatabackends/metadatavideobackend/metadatavideomodel.cpp
index 63301fc..5b55928 100644
--- a/browsingbackends/metadatabackends/metadatavideobackend/metadatavideomodel.cpp
+++ b/browsingbackends/metadatabackends/metadatavideobackend/metadatavideomodel.cpp
@@ -72,7 +72,7 @@ QVariant MetadataVideoModel::data(const QModelIndex& index, int role) const
case MediaCenter::DecorationTypeRole:
return "qimage";
case MediaCenter::HideLabelRole:
- return true;
+ return false;
default:
return AbstractMetadataModel::data(index, role);
}
diff --git a/components/mediabrowser/MediaBrowser.qml b/components/mediabrowser/MediaBrowser.qml
index 0dfc8cb..816e45c 100644
--- a/components/mediabrowser/MediaBrowser.qml
+++ b/components/mediabrowser/MediaBrowser.qml
@@ -31,14 +31,8 @@ Item {

signal playRequested(string url)

- MetadataModels.MetadataUserTypes {
- id: userTypes
- }
-
MetadataModels.MetadataModel {
id: metadataModel
- sortBy: ["nao:lastModified"]
- sortOrder: Qt.DescendingOrder
}

GridView {
@@ -54,7 +48,6 @@ Item {
focus: true
highlightFollowsCurrentItem: true
flow: GridView.TopToBottom
- cacheBuffer: width
}

onCurrentBrowsingBackendChanged: {