mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-12 13:15:18 -08:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user