diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 04:18:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 04:18:25 +0300 |
commit | 07abefc34abc3731f5eb63a7616231827b11e271 (patch) | |
tree | 74872529b602ce1f06831768c1e4d49137f57a26 /src/gui/windows | |
parent | 4e3cd287c2761247a58efbbc748df40482580414 (diff) | |
download | plus-07abefc34abc3731f5eb63a7616231827b11e271.tar.gz plus-07abefc34abc3731f5eb63a7616231827b11e271.tar.bz2 plus-07abefc34abc3731f5eb63a7616231827b11e271.tar.xz plus-07abefc34abc3731f5eb63a7616231827b11e271.zip |
Remove default parameters from browserbox.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 6 | ||||
-rw-r--r-- | src/gui/windows/questswindow.cpp | 18 |
2 files changed, 16 insertions, 8 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index 1a1a69227..158bc6dea 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -294,7 +294,8 @@ void NpcDialog::addText(const std::string &text, const bool save) mText.clear(); mNewText.append(text); - mTextBox->addRow(text); + mTextBox->addRow(text, + false); } mScrollArea->setVerticalScrollAmount(mScrollArea->getVerticalMaxScroll()); mActionState = NpcActionState::WAIT; @@ -1312,7 +1313,8 @@ void NpcDialog::createSkinControls() splitToStringVector(parts, info->text, '\n'); FOR_EACH (StringVectCIter, it2, parts) { - box->addRow(*it2); + box->addRow(*it2, + false); } } FOR_EACH (STD_VECTOR<NpcButtonInfo*>::const_iterator, diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp index fdecd8ba3..21c3c7f64 100644 --- a/src/gui/windows/questswindow.cpp +++ b/src/gui/windows/questswindow.cpp @@ -330,31 +330,36 @@ void QuestsWindow::showQuest(const QuestItem *const quest) { case QuestType::TEXT: default: - mText->addRow(text); + mText->addRow(text, + false); break; case QuestType::NAME: - mText->addRow(std::string("[").append(text).append("]")); + mText->addRow(std::string("[").append(text).append("]"), + false); break; case QuestType::REWARD: mText->addRow(std::string( // TRANSLATORS: quest reward _("Reward:")).append( " ").append( - text)); + text), + false); break; case QuestType::GIVER: mText->addRow(std::string( // TRANSLATORS: quest giver name _("Quest Giver:")).append( " ").append( - text)); + text), + false); break; case QuestType::NPC: mText->addRow(std::string( // TRANSLATORS: quest npc name _("Npc:")).append( " ").append( - text)); + text), + false); break; case QuestType::COORDINATES: mText->addRow(std::string( @@ -363,7 +368,8 @@ void QuestsWindow::showQuest(const QuestItem *const quest) _("Coordinates:"), data.data1.c_str(), data.data2.c_str(), - text.c_str()))); + text.c_str())), + false); break; } } |