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 22:02:36 +0000 (23:02 +0100)
commitc65da6728aded0b76967f78602ba9b863db4b2ee
treedcea422e02c05b8020cefef9a8d9ec00ded33022
parent83a6e78e8d47d21b2a4c0424c644b6b80404aeed
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