mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
Add Load/Save functions around Deserialize/Serialise in config
* This lets us do some processing before saving and after loading regardless of the path the load/save takes.
This commit is contained in:
@@ -130,7 +130,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
QString configFilename = CaptureContext::ConfigFile("UI.config");
|
||||
|
||||
if(!config.Deserialize(configFilename))
|
||||
if(!config.Load(configFilename))
|
||||
{
|
||||
RDDialog::critical(
|
||||
NULL, "Error loading config",
|
||||
@@ -151,7 +151,7 @@ int main(int argc, char *argv[])
|
||||
QCoreApplication::sendPostedEvents();
|
||||
}
|
||||
|
||||
config.Serialize();
|
||||
config.Save();
|
||||
}
|
||||
|
||||
delete[] argv_mod;
|
||||
|
||||
Reference in New Issue
Block a user