diff options
author | Weblate <noreply@weblate.org> | 2018-03-10 15:09:31 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2018-03-10 15:09:31 +0000 |
commit | e823783499a7b2f8c3cbfb24ae428b39311bee5e (patch) | |
tree | 74138f1e34b8f090f62bd5412f38b8e185209302 /src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp | |
parent | Translated using Weblate (Italian) (diff) | |
parent | Add the beginnings of the new window frame (widgets-based) (diff) | |
download | lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.gz lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.tar.bz2 lumina-e823783499a7b2f8c3cbfb24ae428b39311bee5e.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp index cfb6823c..982e2346 100644 --- a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp +++ b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp @@ -256,7 +256,7 @@ void MainUI::loadFile(QString file){ // ==== PRIVATE SLOTS ==== void MainUI::closeApplication(){ closing = true; - if(PANDORA->currentState()!= PianoBarProcess::Stopped){ + if(PANDORA->currentState()!= PianoBarProcess::Stopped){ PANDORA->closePianoBar(); this->hide(); QTimer::singleShot(500, this, SLOT(close()) ); @@ -452,7 +452,7 @@ void MainUI::LocalListMediaRemoved(int start, int end){ void MainUI::LocalVideoAvailable(bool avail){ qDebug() << "Local VideoAvailable:" << avail; if(DISABLE_VIDEO){ avail = false; } //TEMPORARY DISABLE while working out gstreamer issues when video widget is hidden - //if(ui->tabWidget_local->currentWidget()==ui->tab_local_playing && avail){ + //if(ui->tabWidget_local->currentWidget()==ui->tab_local_playing && avail){ VIDEO->setVisible(avail); //} ui->label_player_novideo->setVisible(!avail); @@ -549,7 +549,7 @@ void MainUI::changePandoraStation(QString station){ } void MainUI::checkPandoraSettings(){ - bool changes = (PANDORA->email() != ui->line_pandora_email->text()) + bool changes = (PANDORA->email() != ui->line_pandora_email->text()) || (PANDORA->password() != ui->line_pandora_pass->text()) || (PANDORA->audioQuality() != ui->combo_pandora_quality->currentData().toString()) || (PANDORA->proxy() != ui->line_pandora_proxy->text()) @@ -575,7 +575,7 @@ void MainUI::createPandoraStation(){ //Prompt for a search string QString srch = QInputDialog::getText(this, tr("Pandora: Create Station"),"", QLineEdit::Normal, tr("Search Term")); if(srch.isEmpty()){ return; } //cancelled - PANDORA->createNewStation(srch); + PANDORA->createNewStation(srch); } //Pandora Process Feedback @@ -604,9 +604,9 @@ void MainUI::NewPandoraInfo(QString info){ void MainUI::PandoraStationChanged(QString station){ //qDebug() << "[STATION CHANGE]" << station; int index = ui->combo_pandora_station->findText( station ); - if(index>=0){ + if(index>=0){ //qDebug() <<" [FOUND]" << ui->combo_pandora_station->itemText(index); - ui->combo_pandora_station->setCurrentIndex(index); + ui->combo_pandora_station->setCurrentIndex(index); }else{ //Could not find the station in the current list - need to update that first //qDebug() <<" [NOT FOUND]"; |