diff --git a/src/platform/qt/LogConfigModel.h b/src/platform/qt/LogConfigModel.h index c4f5dd9a7..bcd668427 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<(const ConfigSetting& other) { + bool operator<(const ConfigSetting& other) const { return name < other.name; } }; @@ -54,4 +54,4 @@ private: int m_levels; }; -} \ No newline at end of file +}