summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-10 16:40:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-10 16:40:52 +0300
commit4df1e68047488ec00a264c076bb3222715f42295 (patch)
tree22ea99ebcd00a6c9d6da0729706b765a49085c5f /src/gui/theme.cpp
parentbfc5d7483c0a81409ebf08603f634e88b8db03f8 (diff)
downloadManaVerse-4df1e68047488ec00a264c076bb3222715f42295.tar.gz
ManaVerse-4df1e68047488ec00a264c076bb3222715f42295.tar.bz2
ManaVerse-4df1e68047488ec00a264c076bb3222715f42295.tar.xz
ManaVerse-4df1e68047488ec00a264c076bb3222715f42295.zip
Fix new style issue detected by mplint.
new class() -> new class
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp2
1 files changed, 1 insertions, 1 deletions
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);