Fix the Phonon notification backend not playing any sound
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Nov 2013 21:59:47 +0000 (22:59 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Nov 2013 21:59:47 +0000 (22:59 +0100)
commit244c5c3f473eaf3c354a60348ddc668428181b8a
treeb729431499af51b0bad950868b8a2e1c016c84f5
parent3dc5425d473ba3e18671020997a333358948f397
Fix the Phonon notification backend not playing any sound

Phonon won't report its capabilities before a player has been created,
which leads to Quassel thinking that it can't play audio since we checked
for that before instantiating the player.

Some reordering in the ctor fixes this.
src/qtui/phononnotificationbackend.cpp