diff --git a/src/platform/qt/LogConfigModel.h b/src/platform/qt/LogConfigModel.h
index d64e7b22e..c4f5dd9a7 100644
--- a/src/platform/qt/LogConfigModel.h
+++ b/src/platform/qt/LogConfigModel.h
@@ -43,7 +43,7 @@ private:
 		const char* id;
 		int levels;
 
-		bool operator<(struct ConfigSetting& other) {
+		bool operator<(const ConfigSetting& other) {
 			return name < other.name;
 		}
 	};