Commit dc698871 authored by Zack Rusin's avatar Zack Rusin

Use the new debug areas.

svn path=/trunk/kdemultimedia/juk/; revision=223459
parent 2d5334a7
......@@ -63,7 +63,7 @@ void ArtsPlayer::play(const QString &fileName, float volume)
void ArtsPlayer::play(float volume)
{
if (!serverRunning() || (m_server && m_server->error()) ) restart();
if(serverRunning()) {
if(m_media && m_media->state() == posPaused) {
m_media->play();
......@@ -79,7 +79,7 @@ void ArtsPlayer::play(float volume)
m_media->play();
}
else {
kdDebug() << "Media did not initialize properly! (" << m_currentFile << ")" << endl;
kdDebug(65432) << "Media did not initialize properly! (" << m_currentFile << ")" << endl;
delete m_media;
m_media = 0;
}
......@@ -230,7 +230,7 @@ void ArtsPlayer::setupVolumeControl()
else {
delete m_volumeControl;
m_volumeControl = 0;
kdDebug() << "Could not initialize volume control!" << endl;
kdDebug(65432) << "Could not initialize volume control!" << endl;
}
}
......
......@@ -94,7 +94,7 @@ void FileRenamer::rename(const PlaylistItem *item)
void FileRenamer::moveFile(const QString &src, const QString &dest)
{
kdDebug() << "Moving file " << src << " to " << dest << endl;
kdDebug(65432) << "Moving file " << src << " to " << dest << endl;
if(src == dest)
return;
......@@ -107,10 +107,10 @@ void FileRenamer::moveFile(const QString &src, const QString &dest)
QString processedComponents;
for(; it != end; ++it) {
processedComponents += "/" + *it;
kdDebug() << "Checking path " << processedComponents << endl;
kdDebug(65432) << "Checking path " << processedComponents << endl;
QDir dir(processedComponents);
if (!dir.exists())
kdDebug() << "Need to create " << processedComponents << endl;
kdDebug(65432) << "Need to create " << processedComponents << endl;
}
}
......
......@@ -301,7 +301,7 @@ PlaylistItemList Playlist::visibleItems() const
if(i->isVisible())
list.append(i);
else
kdDebug()<<"File shouldn't be in the list"<< i->fileName()<<endl;
kdDebug(65432)<<"File shouldn't be in the list"<< i->fileName()<<endl;
}
return list;
......@@ -890,7 +890,7 @@ void Playlist::slotRenameTag()
void Playlist::applyTag(QListViewItem *item, const QString &text, int column)
{
//kdDebug() << "Applying " << text << " at column " << column << ", replacing \"" << item->text(column) << "\"" << endl;
//kdDebug(65432) << "Applying " << text << " at column " << column << ", replacing \"" << item->text(column) << "\"" << endl;
PlaylistItem *i = static_cast<PlaylistItem *>(item);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment