Final round of bugfixes
This commit is contained in:
@@ -88,7 +88,15 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
auto toolbar_label = new QLabel();
|
||||
ui->toolBar->addWidget(toolbar_label);
|
||||
|
||||
#ifdef RELEASE_BUILD
|
||||
this->setWindowIcon(QIcon(":/settings/win/icons/86Box-green.ico"));
|
||||
#elif defined ALPHA_BUILD
|
||||
this->setWindowIcon(QIcon(":/settings/win/icons/86Box-read.ico"))
|
||||
#elif defined BETA_BUILD
|
||||
this->setWindowIcon(QIcon(":/settings/win/icons/86Box-yellow.ico"));
|
||||
#else
|
||||
this->setWindowIcon(QIcon(":/settings/win/icons/86Box-gray.ico"));
|
||||
#endif
|
||||
this->setWindowFlag(Qt::MSWindowsFixedSizeDialogHint, vid_resize != 1);
|
||||
this->setWindowFlag(Qt::WindowMaximizeButtonHint, vid_resize == 1);
|
||||
|
||||
|
||||
@@ -173,8 +173,8 @@ void SettingsFloppyCDROM::onCDROMRowChanged(const QModelIndex ¤t) {
|
||||
if (! match.isEmpty()) {
|
||||
ui->comboBoxChannel->setCurrentIndex(match.first().row());
|
||||
}
|
||||
else ui->comboBoxChannel->setCurrentIndex(8);
|
||||
ui->comboBoxSpeed->setCurrentIndex(speed - 1);
|
||||
|
||||
ui->comboBoxSpeed->setCurrentIndex(speed == 0 ? 7 : speed - 1);
|
||||
}
|
||||
|
||||
void SettingsFloppyCDROM::on_checkBoxTurboTimings_stateChanged(int arg1) {
|
||||
|
||||
Reference in New Issue
Block a user