From f42ee6fcfb94d877f6d3608ace2a3bef386c47a5 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Sun, 2 Jul 2017 22:33:44 +0200 Subject: [PATCH] Config safety --- uploaders/uploadersingleton.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/uploaders/uploadersingleton.cpp b/uploaders/uploadersingleton.cpp index 44b9c8e..f57f44f 100644 --- a/uploaders/uploadersingleton.cpp +++ b/uploaders/uploadersingleton.cpp @@ -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; }