Make sure the smart playlists node really really gets put at the top

This commit is contained in:
David Sansome 2010-11-27 18:43:49 +00:00
parent 70df709fc2
commit 623b90e5e2
2 changed files with 1 additions and 2 deletions

View File

@ -884,7 +884,7 @@ LibraryModel::GroupBy& LibraryModel::Grouping::operator [](int i) {
void LibraryModel::CreateSmartPlaylists() {
smart_playlist_node_ = new LibraryItem(LibraryItem::Type_PlaylistContainer, root_);
smart_playlist_node_->container_level = 0;
smart_playlist_node_->sort_text = " _smart";
smart_playlist_node_->sort_text = "\0smart";
smart_playlist_node_->key = tr("Smart playlists");
QSettings s;

View File

@ -1,6 +1,5 @@
#include "jamendodynamicplaylist.h"
#include <QCoreApplication>
#include <QEventLoop>
#include <QHttp>
#include <QHttpRequestHeader>