Roll back unintended changes
This commit is contained in:
parent
b0e9f8dbe5
commit
ecfb791e48
@ -16,7 +16,6 @@ AOApplication::AOApplication(int &argc, char **argv) : QApplication(argc, argv)
|
|||||||
|
|
||||||
net_manager = new NetworkManager(this);
|
net_manager = new NetworkManager(this);
|
||||||
discord = new AttorneyOnline::Discord();
|
discord = new AttorneyOnline::Discord();
|
||||||
qApp->setStyleSheet("QFrame {background-color:transparent;} QAbstractItemView {background-color: transparent; color: black;}; QLineEdit {background-color:transparent;}");
|
|
||||||
|
|
||||||
asset_lookup_cache.reserve(2048);
|
asset_lookup_cache.reserve(2048);
|
||||||
}
|
}
|
||||||
|
@ -1255,12 +1255,12 @@ void AOOptionsDialog::save_pressed()
|
|||||||
mountPaths.append(ui_mount_list->item(i)->text());
|
mountPaths.append(ui_mount_list->item(i)->text());
|
||||||
configini->setValue("mount_paths", mountPaths);
|
configini->setValue("mount_paths", mountPaths);
|
||||||
|
|
||||||
if (asset_cache_dirty)
|
|
||||||
ao_app->invalidate_lookup_cache();
|
|
||||||
|
|
||||||
if (audioChanged)
|
if (audioChanged)
|
||||||
ao_app->initBASS();
|
ao_app->initBASS();
|
||||||
|
|
||||||
|
if (asset_cache_dirty)
|
||||||
|
ao_app->invalidate_lookup_cache();
|
||||||
|
|
||||||
// We most probably pressed "Restore defaults" at some point. Since we're saving our settings, remove the temporary file.
|
// We most probably pressed "Restore defaults" at some point. Since we're saving our settings, remove the temporary file.
|
||||||
if (QFile::exists(ao_app->get_base_path() + "config.temp"))
|
if (QFile::exists(ao_app->get_base_path() + "config.temp"))
|
||||||
QFile::remove(ao_app->get_base_path() + "config.temp");
|
QFile::remove(ao_app->get_base_path() + "config.temp");
|
||||||
|
Loading…
Reference in New Issue
Block a user