Apperently maybeRestoreAircraftSelection() needs to be a slot
This commit is contained in:
parent
409ffc971d
commit
f19c8ac05d
2 changed files with 4 additions and 2 deletions
|
@ -664,7 +664,7 @@ void QtLauncher::restoreSettings()
|
|||
|
||||
void QtLauncher::delayedAircraftModelReset()
|
||||
{
|
||||
QTimer::singleShot(1, this, &QtLauncher::maybeRestoreAircraftSelection);
|
||||
QTimer::singleShot(1, this, SLOT(QtLauncher::maybeRestoreAircraftSelection()));
|
||||
}
|
||||
|
||||
void QtLauncher::maybeRestoreAircraftSelection()
|
||||
|
|
|
@ -88,6 +88,9 @@ private slots:
|
|||
void onAircraftInstallFailed(QModelIndex index, QString errorMessage);
|
||||
|
||||
void onShowInstalledAircraftToggled(bool b);
|
||||
|
||||
void maybeRestoreAircraftSelection();
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
|
@ -107,7 +110,6 @@ private:
|
|||
|
||||
simgear::pkg::PackageRef packageForAircraftURI(QUrl uri) const;
|
||||
|
||||
void maybeRestoreAircraftSelection();
|
||||
// need to wait after a model reset before restoring selection and
|
||||
// scrolling, to give the view time it seems.
|
||||
void delayedAircraftModelReset();
|
||||
|
|
Loading…
Reference in a new issue