From ecd8210162f2929c1eddaa3bd68809161aa1ce2d Mon Sep 17 00:00:00 2001 From: tux3 Date: Sun, 22 Feb 2015 17:24:01 +0100 Subject: [PATCH] Fix warning when !QTOX_PLATFORM_EXT --- src/misc/settings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/misc/settings.cpp b/src/misc/settings.cpp index bdc2722ac..cd3de230e 100644 --- a/src/misc/settings.cpp +++ b/src/misc/settings.cpp @@ -561,6 +561,8 @@ void Settings::setAutorun(bool newValue) { #ifdef QTOX_PLATFORM_EXT Platform::setAutorun(newValue); +#else + Q_UNUSED(newValue); #endif }