Config safety

This commit is contained in:
ArsenArsen 2017-07-02 22:33:44 +02:00
parent d3d6aa1bde
commit f42ee6fcfb
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}