From 90656bf081fde45eb6e1aab2cd50a3a2b8dd17c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Jun 2017 03:51:32 +0300 Subject: Remove useless string initialisations. --- src/gui/models/modelistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/models') 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); -- cgit v1.2.3-70-g09d2