Config safety
This commit is contained in:
parent
d3d6aa1bde
commit
f42ee6fcfb
@ -27,6 +27,7 @@ UploaderSingleton::UploaderSingleton() : QObject() {
|
||||
}
|
||||
saveDir = QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + "/Screenshots";
|
||||
default:
|
||||
qFatal("Invalid config [saveLocation not int or is not in range]");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user