mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07: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:
parent
f7152befec
commit
ffe02e59c7
3 changed files with 51 additions and 63 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue