From 11b7655bb103974d3a855d64dc0b6ec1b0df4ba1 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 11 Mar 2010 19:32:01 +0000 Subject: reapplied previous patch git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1620 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistmodel.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/qmmpui/playlistmodel.cpp') diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index 1518db19c..007eee910 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -167,7 +167,7 @@ int PlayListModel::currentRow() bool PlayListModel::setCurrent(int c) { if (c > count()-1 || c < 0) - return FALSE; + return false; m_current = c; m_currentItem = m_items.at(c); emit currentChanged(); @@ -232,7 +232,7 @@ void PlayListModel::clear() void PlayListModel::clearSelection() { for (int i = 0; isetSelected(FALSE); + m_items.at(i)->setSelected(false); emit listChanged(); } @@ -457,7 +457,7 @@ void PlayListModel::addFileList(const QStringList &l) bool PlayListModel::setFileList(const QStringList & l) { - bool model_cleared = FALSE; + bool model_cleared = false; foreach(QString str,l) { QFileInfo f_info(str); @@ -899,7 +899,7 @@ bool PlayListModel::isFileLoaderRunning() const if (l && l->isRunning()) return true; - return FALSE; + return false; } void PlayListModel::preparePlayState() @@ -911,7 +911,7 @@ void PlayListModel::removeInvalidItems() { foreach(PlayListItem *item, m_items) { - bool ok = FALSE; + bool ok = false; if(!item->url().contains("://")) ok = MetaDataManager::instance()->supports(item->url()); else -- cgit v1.2.3-13-gbd6f