diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-08 03:51:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-08 03:51:32 +0300 |
commit | 90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8 (patch) | |
tree | b6fe4d5494381abfe7800022a67bbdfd2e20f97e /src/gui/models | |
parent | b0d6ef00eebb7dcd03b051db63840c04243a784d (diff) | |
download | manaverse-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.tar.gz manaverse-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.tar.bz2 manaverse-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.tar.xz manaverse-90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8.zip |
Remove useless string initialisations.
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/modelistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/models/modelistmodel.cpp b/src/gui/models/modelistmodel.cpp index 3c39921ad..d1253b9f1 100644 --- a/src/gui/models/modelistmodel.cpp +++ b/src/gui/models/modelistmodel.cpp @@ -90,7 +90,7 @@ void ModeListModel::addCustomMode(const std::string &mode) int ModeListModel::getIndexOf(const std::string &widthXHeightMode) { - std::string currentMode(""); + std::string currentMode; for (int i = 0; i < getNumberOfElements(); i++) { currentMode = getElementAt(i); |