summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-10 15:48:22 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-10 15:48:22 +0300
commit13670eefeb4b256c20b603a845eb89f5221a32e5 (patch)
tree7a49048dd2693284789a23dd2a97aaa593b0ae5c /src/gui/setup_video.cpp
parent99c02724d193dbd6219c4ce036c43795d6562047 (diff)
downloadmanaverse-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.gz
manaverse-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.bz2
manaverse-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.xz
manaverse-13670eefeb4b256c20b603a845eb89f5221a32e5.zip
Change empty strings initializations.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index e9811a920..d3c1163dc 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -179,7 +179,7 @@ void ModeListModel::addCustomMode(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);