Commit 61086c73 authored by Michael Pyne's avatar Michael Pyne

Postpone DBus interface creation for the Player object until after it has been properly

setup.  Hopefully fixes bug 211755 as well.  This will be part of KDE 4.4.

CCBUG:211755

svn path=/trunk/KDE/kdemultimedia/juk/; revision=1042065
parent 13ceaf52
......@@ -71,7 +71,6 @@ PlayerManager::PlayerManager() :
// later, just disable it here. -- mpyne
// setup();
new PlayerAdaptor( this );
QDBusConnection::sessionBus().registerObject("/Player", this);
}
PlayerManager::~PlayerManager()
......@@ -557,6 +556,8 @@ void PlayerManager::setup()
if(m_sliderAction->volumeSlider())
m_sliderAction->volumeSlider()->setAudioOutput(m_output[0]);
QDBusConnection::sessionBus().registerObject("/Player", this);
}
void PlayerManager::slotUpdateSliders()
......
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