From 7185b4e778c0e2c245e1ba3f6be07f27cec58834 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 8 Sep 2011 02:54:07 +0200 Subject: [PATCH] Whoops --- src/libtomahawk/playlist/treemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/treemodel.cpp b/src/libtomahawk/playlist/treemodel.cpp index 60d887c90..549459363 100644 --- a/src/libtomahawk/playlist/treemodel.cpp +++ b/src/libtomahawk/playlist/treemodel.cpp @@ -297,7 +297,7 @@ TreeModel::data( const QModelIndex& index, int role ) const { return entry->album()->name(); } - else if ( role = NameRole ) + else if ( role == NameRole ) { return entry->result()->track(); }