Split parsing/applying. Better error logging. Fix crash.
This commit is contained in:
parent
966f9d1206
commit
f9ea3dbfde
13 changed files with 842 additions and 355 deletions
|
@ -25,9 +25,9 @@ OneSixVersion::OneSixVersion(OneSixInstance *instance, QObject *parent)
|
|||
clear();
|
||||
}
|
||||
|
||||
bool OneSixVersion::reload(QWidget *widgetParent)
|
||||
bool OneSixVersion::reload(QWidget *widgetParent, const bool excludeCustom)
|
||||
{
|
||||
return OneSixVersionBuilder::build(this, m_instance, widgetParent);
|
||||
return OneSixVersionBuilder::build(this, m_instance, widgetParent, excludeCustom);
|
||||
}
|
||||
|
||||
void OneSixVersion::clear()
|
||||
|
@ -42,6 +42,7 @@ void OneSixVersion::clear()
|
|||
minimumLauncherVersion = 0xDEADBEAF;
|
||||
mainClass.clear();
|
||||
libraries.clear();
|
||||
tweakers.clear();
|
||||
}
|
||||
|
||||
void OneSixVersion::dump() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue