Skip to content

Commit

Permalink
[Qt/encoding] Hide the shutdown checkbox on all platforms for now
Browse files Browse the repository at this point in the history
  • Loading branch information
eumagga0x2a committed Mar 26, 2017
1 parent c056323 commit aa970e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions avidemux/qt4/ADM_userInterfaces/ADM_dialog/Q_encoding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ DIA_encodingQt4::DIA_encodingQt4(uint64_t duration) : DIA_encodingBase(duration)
}else
{
ui->comboBoxPriority->setVisible(false);
ui->checkBoxShutdown->setVisible(false);
ui->labelPrio->setVisible(false);
}
#endif
ui->checkBoxShutdown->setVisible(false); // shutdown is disabled, hide the checkbox on all platforms

connect(ui->checkBoxShutdown, SIGNAL(stateChanged(int)), this, SLOT(shutdownChanged(int)));
connect(ui->pushButton1, SIGNAL(pressed()), this, SLOT(useTrayButtonPressed()));
Expand Down Expand Up @@ -155,7 +155,7 @@ DIA_encodingQt4::~DIA_encodingQt4( )
{
ADM_info("Destroying encoding qt4\n");
UI_getTaskBarProgress()->disable();
bool shutdownRequired = (ui->checkBoxShutdown->checkState() == Qt::Checked);
//bool shutdownRequired = (ui->checkBoxShutdown->checkState() == Qt::Checked);
if(tray)
{
UI_deiconify();
Expand Down Expand Up @@ -189,7 +189,7 @@ void DIA_encodingQt4::setPhasis(const char *n)
{
this->setWindowTitle(QT_TRANSLATE_NOOP("qencoding","Encoding..."));
ui->tabWidget->setTabEnabled(1, true);
#ifdef _WIN32
#if 0
ui->checkBoxShutdown->setVisible(true);
#endif
WRITEM(labelPhasis,n);
Expand Down

0 comments on commit aa970e2

Please sign in to comment.