From 4df1e68047488ec00a264c076bb3222715f42295 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Mar 2017 16:40:52 +0300 Subject: Fix new style issue detected by mplint. new class() -> new class --- src/gui/theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 5be8efbf9..2d33d36e7 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -1228,7 +1228,7 @@ ThemeInfo *Theme::loadInfo(const std::string &themeName) return nullptr; } - ThemeInfo *const info = new ThemeInfo(); + ThemeInfo *const info = new ThemeInfo; const std::string fontSize2("fontSize_" + mScreenDensity); const std::string npcfontSize2("npcfontSize_" + mScreenDensity); -- cgit v1.2.3-60-g2f50