diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-15 22:40:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-15 22:40:40 +0300 |
commit | b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe (patch) | |
tree | 279df324772bbd8e69aed934940cd4aa8da58999 /src/gui/widgets | |
parent | bc5f2bc679b7af67e652fad23f4132e212c78845 (diff) | |
download | manaplus-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.tar.gz manaplus-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.tar.bz2 manaplus-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.tar.xz manaplus-b10c6ee0b9c8428f9ed426357a58aa42ee14cbfe.zip |
Fix code style.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 67d52ec0e..cc6ded02e 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -830,7 +830,7 @@ void SetupItemDropDownStr::fromWidget() const int sel = mDropDown->getSelected(); // use first element in model as empty string if (sel == 0 || sel >= mModel->getNumberOfElements()) - mValue = ""; + mValue.clear(); else mValue = mModel->getElementAt(sel); } |