Skip to content

Commit

Permalink
Minor fix with showing flag and minor clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
vladozar committed Feb 17, 2017
1 parent a54dbba commit c72fbcb
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions softprojector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ SoftProjector::SoftProjector(QWidget *parent)

positionDisplayWindow();

// pds1->renderText(false);
// pds2->renderText(false);

showing = false;

ui->projectTab->clear();
Expand Down Expand Up @@ -343,14 +340,6 @@ void SoftProjector::updateSetting(GeneralSettings &g, Theme &t, SlideShowSetting
theme = t;
bibleWidget->setSettings(mySettings.bibleSets);
pictureWidget->setSettings(mySettings.slideSets);

// Apply display settings;
pds1->resetImGenSize();
// pds1->setNewPassiveWallpaper(theme.passive.background,theme.passive.useBackground);
// if(theme.passive2.useDisp2settings)
// pds2->setNewPassiveWallpaper(theme.passive2.background,theme.passive2.useBackground);
// else
// pds2->setNewPassiveWallpaper(theme.passive.background,theme.passive.useBackground);
}

void SoftProjector::applySetting(GeneralSettings &g, Theme &t, SlideShowSettings &s,
Expand Down Expand Up @@ -760,8 +749,9 @@ void SoftProjector::on_actionCloseDisplay_triggered()
{
pds2->hide();
}
showing = false;
}
showing = false;

updateCloseDisplayButtons(ui->actionCloseDisplay->isChecked());
}

Expand Down

0 comments on commit c72fbcb

Please sign in to comment.