summaryrefslogtreecommitdiff
path: root/src/gui/dialogsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-14 17:53:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-14 17:53:34 +0300
commit456e03c0e942e8082f1fd67c6f852524fe300710 (patch)
tree255e81d7d306cf2559ed70d95698cf790040351f /src/gui/dialogsmanager.cpp
parent606f836e9d1c17801ed4564a300cdbaa26097383 (diff)
downloadmv-456e03c0e942e8082f1fd67c6f852524fe300710.tar.gz
mv-456e03c0e942e8082f1fd67c6f852524fe300710.tar.bz2
mv-456e03c0e942e8082f1fd67c6f852524fe300710.tar.xz
mv-456e03c0e942e8082f1fd67c6f852524fe300710.zip
Rename CREATEWIDGET* macroses.
Diffstat (limited to 'src/gui/dialogsmanager.cpp')
-rw-r--r--src/gui/dialogsmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp
index 6604d0586..745ef2cc2 100644
--- a/src/gui/dialogsmanager.cpp
+++ b/src/gui/dialogsmanager.cpp
@@ -85,7 +85,7 @@ void DialogsManager::closeDialogs()
void DialogsManager::createUpdaterWindow()
{
- CREATEWIDGET(updaterWindow, UpdaterWindow,
+ CREATEWIDGETV(updaterWindow, UpdaterWindow,
settings.updateHost,
settings.oldUpdates,
false,
@@ -98,7 +98,7 @@ Window *DialogsManager::openErrorDialog(const std::string &header,
{
if (settings.supportUrl.empty() || config.getBoolValue("hidesupport"))
{
- OkDialog *const dialog = CREATEWIDGET2(OkDialog,
+ OkDialog *const dialog = CREATEWIDGETR(OkDialog,
header,
message,
// TRANSLATORS: ok dialog button
@@ -112,7 +112,7 @@ Window *DialogsManager::openErrorDialog(const std::string &header,
}
else
{
- ConfirmDialog *const dialog = CREATEWIDGET2(ConfirmDialog,
+ ConfirmDialog *const dialog = CREATEWIDGETR(ConfirmDialog,
header,
strprintf("%s %s", message.c_str(),
// TRANSLATORS: error message question
@@ -129,7 +129,7 @@ void DialogsManager::playerDeath()
if (!deathNotice)
{
// TRANSLATORS: message header
- CREATEWIDGET(deathNotice, OkDialog,
+ CREATEWIDGETV(deathNotice, OkDialog,
_("Message"),
DeadDB::getRandomString(),
// TRANSLATORS: ok dialog button
@@ -157,7 +157,7 @@ void DialogsManager::attributeChanged(const AttributesT id,
if (newVal >= max && total < max)
{
weightNoticeTime = cur_time + 5;
- CREATEWIDGET(weightNotice, OkDialog,
+ CREATEWIDGETV(weightNotice, OkDialog,
// TRANSLATORS: message header
_("Message"),
// TRANSLATORS: weight message
@@ -177,7 +177,7 @@ void DialogsManager::attributeChanged(const AttributesT id,
else if (newVal < max && total >= max)
{
weightNoticeTime = cur_time + 5;
- CREATEWIDGET(weightNotice, OkDialog,
+ CREATEWIDGETV(weightNotice, OkDialog,
// TRANSLATORS: message header
_("Message"),
// TRANSLATORS: weight message