Refactor: clean up OracleImporter (#5871)

* remove unused dataDir variable

* inline setsMap

* join declaration and assignment

* make the protected methods static

* make getSetPriority static

* inline mainCardTypes list and make the method static

* pass by const ref when able

* rename param to match
This commit is contained in:
RickyRister
2025-04-21 13:29:42 -07:00
committed by GitHub
parent f7152befec
commit ffe02e59c7
3 changed files with 51 additions and 63 deletions

View File

@@ -60,7 +60,7 @@ OracleWizard::OracleWizard(QWidget *parent) : QWizard(parent)
settings = new QSettings(SettingsCache::instance().getSettingsPath() + "global.ini", QSettings::IniFormat, this);
connect(&SettingsCache::instance(), &SettingsCache::langChanged, this, &OracleWizard::updateLanguage);
importer = new OracleImporter(SettingsCache::instance().getDataPath(), this);
importer = new OracleImporter(this);
nam = new QNetworkAccessManager(this);