Remove unused signal replaced by deviceIsUnsupported in 08f4e2a.

This commit is contained in:
sawinglogz 2021-11-05 14:28:00 -04:00
parent bf3c760057
commit 4ebde70550
2 changed files with 0 additions and 16 deletions

View File

@ -518,11 +518,6 @@ bool MainWindow::OpenProfile(QString profileName, bool skippassword)
p_profile->p_preferences[STR_PREF_ReimportBackup]=false; p_profile->p_preferences[STR_PREF_ReimportBackup]=false;
} }
QList<MachineLoader *> loaders = GetLoaders();
for (int i=0; i<loaders.size(); ++i) {
connect(loaders.at(i), SIGNAL(machineUnsupported(Machine*)), this, SLOT(MachineUnsupported(Machine*)));
}
p_profile->LoadMachineData(progress); p_profile->LoadMachineData(progress);
progress->setMessage(tr("Loading profile \"%1\"").arg(profileName)); progress->setMessage(tr("Loading profile \"%1\"").arg(profileName));
@ -2106,15 +2101,6 @@ void MainWindow::FreeSessions()
} while (date >= first); } while (date >= first);
} }
void MainWindow::MachineUnsupported(Machine * m)
{
if (m == nullptr) {
qCritical() << "MainWindow::MachineUnsupported called with null machine object";
return;
}
QMessageBox::information(this, STR_MessageBox_Error, QObject::tr("Sorry, your %1 %2 machine is not currently supported.").arg(m->brand()).arg(m->model()), QMessageBox::Ok);
}
void MainWindow::doRecompressEvents() void MainWindow::doRecompressEvents()
{ {
if (!p_profile) return; if (!p_profile) return;

View File

@ -182,8 +182,6 @@ class MainWindow : public QMainWindow
void doReprocessEvents(); void doReprocessEvents();
void doRecompressEvents(); void doRecompressEvents();
void MachineUnsupported(Machine * m);
protected: protected:
void closeEvent(QCloseEvent *) override; void closeEvent(QCloseEvent *) override;