kmediaplayer: log the playing state when reading properties

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-11-29 08:02:24 +02:00
parent b8d6907219
commit 00498bf3f6

View file

@ -213,7 +213,7 @@ void KMediaWindow::readProperties(const KConfigGroup &configgroup)
const QString path = configgroup.readEntry("Path", QString());
m_currenttime = configgroup.readEntry("Position", float(0.0));
m_playing = configgroup.readEntry("Playing", true);
kDebug() << path << m_currenttime;
kDebug() << path << m_currenttime << m_playing;
if (!path.isEmpty()) {
connect(m_player->player(), SIGNAL(loaded()), this, SLOT(slotDelayedRestore()));
m_player->open(path);