diff options
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); |