Use QCoreApplication to get path
This commit is contained in:
@@ -31,7 +31,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
|
||||
Settings::init();
|
||||
Settings::getInstance()->setExecName(argv[0]);
|
||||
|
||||
if (argc >= 2 && QString::fromStdString(argv[1]) == "--no-embedded") {
|
||||
Settings::getInstance()->setUseEmbedded(false);
|
||||
|
||||
Reference in New Issue
Block a user