diff options
author | Jesse Smith <jsmith@resonatingmedia.com> | 2015-05-21 12:16:56 -0300 |
---|---|---|
committer | Jesse Smith <jsmith@resonatingmedia.com> | 2015-05-21 12:16:56 -0300 |
commit | 15a00c13eb1159b746aa6dd16bf8ecd591f8edf0 (patch) | |
tree | 1a31ca3da8c4aff876826c0aa8b46a7103820d5f /lumina-desktop/LSession.cpp | |
parent | Update the included themes to ensure that the new Boot Splash is themed properly (diff) | |
download | lumina-15a00c13eb1159b746aa6dd16bf8ecd591f8edf0.tar.gz lumina-15a00c13eb1159b746aa6dd16bf8ecd591f8edf0.tar.bz2 lumina-15a00c13eb1159b746aa6dd16bf8ecd591f8edf0.zip |
Very minor clean-up to avoid compiler warnings.
On a clean compile of the code I found two compiler warnings,
both indicating declarations of unused variables. In both cases
I think these variables were used for debugging, originally, and
are no longer needed. Their declarations have been removed.
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-rw-r--r-- | lumina-desktop/LSession.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp index b204b0a8..a3b301b3 100644 --- a/lumina-desktop/LSession.cpp +++ b/lumina-desktop/LSession.cpp @@ -534,10 +534,9 @@ void LSession::systemWindow(){ //Play System Audio void LSession::playAudioFile(QString filepath){ //Setup the audio output systems for the desktop - bool init = false; if(DEBUG){ qDebug() << "Play Audio File"; } //if(audioThread==0){ qDebug() << " - Initialize audio systems"; audioThread = new QThread(); init = true; } - if(mediaObj==0){ qDebug() << " - Initialize media player"; mediaObj = new QMediaPlayer(); init = true;} + if(mediaObj==0){ qDebug() << " - Initialize media player"; mediaObj = new QMediaPlayer(); } /*if(mediaObj && init){ //in case it errors for some reason qDebug() << " -- Move audio objects to separate thread"; mediaObj->moveToThread(audioThread); |