From d44028a2af36cf07e8848da4cc09ac39a6e71d25 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 22 May 2012 02:34:33 +0200 Subject: [PATCH] * AlbumModel items shouldn't be editable. --- src/libtomahawk/playlist/AlbumModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/AlbumModel.cpp b/src/libtomahawk/playlist/AlbumModel.cpp index eae9d2b64..649e92258 100644 --- a/src/libtomahawk/playlist/AlbumModel.cpp +++ b/src/libtomahawk/playlist/AlbumModel.cpp @@ -155,7 +155,7 @@ AlbumModel::flags( const QModelIndex& index ) const Qt::ItemFlags defaultFlags = QAbstractItemModel::flags( index ); if ( index.isValid() && index.column() == 0 ) - return Qt::ItemIsEditable | Qt::ItemIsDragEnabled | Qt::ItemIsDropEnabled | defaultFlags; + return Qt::ItemIsDragEnabled | Qt::ItemIsDropEnabled | defaultFlags; else return defaultFlags; }