diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:03:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:03:59 +0300 |
commit | 5133814218de74d57c7febadf61b3ab05216dc25 (patch) | |
tree | 60b88270c9a50ef333fefed38c805baab00429a1 /src/gui/windows/questswindow.cpp | |
parent | cc7a39f467a49b2e91717739cb6e7c3c4b34a245 (diff) | |
download | manaverse-5133814218de74d57c7febadf61b3ab05216dc25.tar.gz manaverse-5133814218de74d57c7febadf61b3ab05216dc25.tar.bz2 manaverse-5133814218de74d57c7febadf61b3ab05216dc25.tar.xz manaverse-5133814218de74d57c7febadf61b3ab05216dc25.zip |
Remove default parameters from properties.h
Diffstat (limited to 'src/gui/windows/questswindow.cpp')
-rw-r--r-- | src/gui/windows/questswindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp index 269f2aab9..80d853778 100644 --- a/src/gui/windows/questswindow.cpp +++ b/src/gui/windows/questswindow.cpp @@ -378,7 +378,8 @@ void QuestsWindow::setMap(const Map *const map) if (mMap == nullptr) return; - const std::string name = mMap->getProperty("shortName"); + const std::string name = mMap->getProperty("shortName", + std::string()); FOR_EACHP (STD_VECTOR<QuestEffect*>::const_iterator, it, mAllEffects) { const QuestEffect *const effect = *it; |