Quit app when closing stand-alone renaming utility

See https://github.com/Martchus/tageditor/issues/52
This commit is contained in:
Martchus 2020-03-09 15:56:48 +01:00
parent 3e58d67c4c
commit 0f4bbecedc
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ int runWidgetsGui(int argc, char *argv[], const QtConfigArguments &qtConfigArgs,
if (launchRenamingUtility) {
RenameFilesDialog window;
window.setAttribute(Qt::WA_QuitOnClose);
window.show();
return application.exec();
}