summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 19:52:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 19:52:20 +0300
commit66d3d5fca48269a778e81c3ed7747edc2e56c862 (patch)
tree2b8b1cce4881bc4ff90fb159f28e3f510657192d /src/gui/widgets
parenta54ff6d4104a9b382c1419c00cc83684e391a445 (diff)
downloadplus-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.gz
plus-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.bz2
plus-66d3d5fca48269a778e81c3ed7747edc2e56c862.tar.xz
plus-66d3d5fca48269a778e81c3ed7747edc2e56c862.zip
Remove default parameters from textdialog.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp4
-rw-r--r--src/gui/widgets/tabs/socialguildtab.h4
-rw-r--r--src/gui/widgets/tabs/socialpartytab.h4
3 files changed, 9 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index b5b74e2b9..17f74bf83 100644
--- a/src/gui/widgets/tabs/setup_video.cpp
+++ b/src/gui/widgets/tabs/setup_video.cpp
@@ -389,7 +389,9 @@ void Setup_Video::action(const ActionEvent &event)
// TRANSLATORS: resolution question dialog
_("Custom resolution (example: 1024x768)"),
// TRANSLATORS: resolution question dialog
- _("Enter new resolution: "));
+ _("Enter new resolution: "),
+ nullptr,
+ false);
mDialog->setActionEventId("videomode");
mDialog->addActionListener(this);
return;
diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h
index c994f3188..433823ff4 100644
--- a/src/gui/widgets/tabs/socialguildtab.h
+++ b/src/gui/widgets/tabs/socialguildtab.h
@@ -124,7 +124,9 @@ class SocialGuildTab final : public SocialTab,
_("Member Invite to Guild"),
// TRANSLATORS: guild invite message
strprintf(_("Who would you like to invite to guild %s?"),
- mGuild->getName().c_str()), socialWindow);
+ mGuild->getName().c_str()),
+ socialWindow,
+ false);
mInviteDialog->setActionEventId("do invite");
mInviteDialog->addActionListener(this);
}
diff --git a/src/gui/widgets/tabs/socialpartytab.h b/src/gui/widgets/tabs/socialpartytab.h
index a77cd16e1..f151f9e62 100644
--- a/src/gui/widgets/tabs/socialpartytab.h
+++ b/src/gui/widgets/tabs/socialpartytab.h
@@ -125,7 +125,9 @@ class SocialPartyTab final : public SocialTab,
_("Member Invite to Party"),
// TRANSLATORS: party invite message
strprintf(_("Who would you like to invite to party %s?"),
- mParty->getName().c_str()), socialWindow);
+ mParty->getName().c_str()),
+ socialWindow,
+ false);
mInviteDialog->setActionEventId("do invite");
mInviteDialog->addActionListener(this);
}