Fixed referencing and dereferencing errors in apparatus
This commit is contained in:
parent
d69b18f083
commit
f99974d8ae
12 changed files with 148 additions and 112 deletions
|
|
@ -13,8 +13,8 @@ int main(int argc, char *argv[]) {
|
|||
w.show();
|
||||
|
||||
QObject::connect(&a, &QApplication::aboutToQuit, []() {
|
||||
apparatus::shutdown();
|
||||
if (apparatus::isFirstRun()) {
|
||||
apparatus::instance()->save();
|
||||
if (apparatus::isFirstRun() && apparatus::instance()->get_auth_subsystem()->users().length() > 0) {
|
||||
apparatus::generate_lock_file();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue