Commit 55e0b7d9 authored by Michael Pyne's avatar Michael Pyne

Remove more warnings from the JuK startup process. You should no longer...

Remove more warnings from the JuK startup process.  You should no longer receive warnings from running JuK, although you will still get informational output.

svn path=/trunk/kdemultimedia/juk/; revision=327758
parent bff3653a
......@@ -532,7 +532,9 @@ void PlayerManager::setup()
connect(m_sliderAction->volumeSlider(), SIGNAL(signalVolumeChanged(int)),
this, SLOT(slotSetVolume(int)));
KAction *outputAction = action("outputSelect");
// Call this method manually to avoid warnings.
KAction *outputAction = actions()->action("outputSelect");
if(outputAction) {
int mediaSystem = static_cast<KSelectAction *>(outputAction)->currentItem();
......
......@@ -653,9 +653,11 @@ void PlaylistBox::Item::init()
setPixmap(0, SmallIcon(m_iconName, iconSize));
list->addName(m_text);
if(m_playlist)
if(m_playlist) {
connect(m_playlist, SIGNAL(signalNameChanged(const QString &)),
this, SLOT(slotSetName(const QString &)));
connect(m_playlist, SIGNAL(destroyed()), this, SLOT(deleteLater()));
}
if(m_playlist == CollectionList::instance()) {
m_sortedFirst = true;
......@@ -667,8 +669,6 @@ void PlaylistBox::Item::init()
if(m_playlist == list->historyPlaylist())
m_sortedFirst = true;
connect(m_playlist, SIGNAL(destroyed()), this, SLOT(deleteLater()));
}
#include "playlistbox.moc"
......@@ -389,7 +389,7 @@ HistoryPlaylist *PlaylistCollection::historyPlaylist() const
void PlaylistCollection::setHistoryPlaylistEnabled(bool enable)
{
kdDebug(65432) << k_funcinfo << enable << endl;
// kdDebug(65432) << k_funcinfo << enable << endl;
if((enable && m_historyPlaylist) || (!enable && !m_historyPlaylist))
return;
......
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