Changeset 16929a6


Ignore:
Timestamp:
08/11/14 09:43:34 (5 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.3, releng/10.1
Children:
19bab26, 0f3e337
Parents:
5452037
Message:

Clean up a warning with the thread usage for audio output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lumina/lumina-desktop/LSession.cpp

    r372d9a4 r16929a6  
    4343  delete appmenu; 
    4444  delete currTranslator; 
     45  delete mediaObj; 
     46  delete audioOut; 
    4547} 
    4648 
     
    6769  //Setup the audio output systems for the desktop 
    6870  //audioFile = new QFile(); 
    69   mediaObj = new Phonon::MediaObject(this); 
    70   audioOut = new Phonon::AudioOutput(Phonon::MusicCategory, this); 
     71  mediaObj = new Phonon::MediaObject(0); 
     72  audioOut = new Phonon::AudioOutput(Phonon::MusicCategory, 0); 
    7173    Phonon::createPath(mediaObj, audioOut); 
    7274  audioThread = new QThread(this); 
Note: See TracChangeset for help on using the changeset viewer.