summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 04:11:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 04:11:24 +0300
commit98ed087de210f5a5a0979b0d60b6d4b21b24ba4c (patch)
treecff4b8c1a911ffb0acfde24f1bdd0fb25a25327b /src/gui/widgets
parentc58b6c63c89e18a9feef819f584426d329ff38ac (diff)
downloadmv-98ed087de210f5a5a0979b0d60b6d4b21b24ba4c.tar.gz
mv-98ed087de210f5a5a0979b0d60b6d4b21b24ba4c.tar.bz2
mv-98ed087de210f5a5a0979b0d60b6d4b21b24ba4c.tar.xz
mv-98ed087de210f5a5a0979b0d60b6d4b21b24ba4c.zip
Remove default parameters from confirmdialog.h
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/itemlinkhandler.cpp6
-rw-r--r--src/gui/widgets/tabs/socialguildtab.h6
-rw-r--r--src/gui/widgets/tabs/socialpartytab.h6
3 files changed, 14 insertions, 4 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp
index 403573daf..0991be6d4 100644
--- a/src/gui/widgets/itemlinkhandler.cpp
+++ b/src/gui/widgets/itemlinkhandler.cpp
@@ -88,7 +88,8 @@ void ItemLinkHandler::handleCommandLink(const std::string &link,
strprintf("/%s %s", cmd.c_str(), args.c_str()),
SOUND_REQUEST,
false,
- Modal_true);
+ Modal_true,
+ nullptr);
confirmDlg->addActionListener(&inputActionRemoteListener);
}
}
@@ -119,7 +120,8 @@ void ItemLinkHandler::handleHttpLink(const std::string &link,
url,
SOUND_REQUEST,
false,
- Modal_true);
+ Modal_true,
+ nullptr);
confirmDlg->addActionListener(&listener);
}
else if (button == MouseButton::RIGHT)
diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h
index b2ea74d10..c994f3188 100644
--- a/src/gui/widgets/tabs/socialguildtab.h
+++ b/src/gui/widgets/tabs/socialguildtab.h
@@ -136,7 +136,11 @@ class SocialGuildTab final : public SocialTab,
_("Leave Guild?"),
// TRANSLATORS: guild leave message
strprintf(_("Are you sure you want to leave guild %s?"),
- mGuild->getName().c_str()), SOUND_REQUEST, socialWindow);
+ mGuild->getName().c_str()),
+ SOUND_REQUEST,
+ false,
+ Modal_false,
+ socialWindow);
mConfirmDialog->addActionListener(this);
}
diff --git a/src/gui/widgets/tabs/socialpartytab.h b/src/gui/widgets/tabs/socialpartytab.h
index d3ed6d9d8..a77cd16e1 100644
--- a/src/gui/widgets/tabs/socialpartytab.h
+++ b/src/gui/widgets/tabs/socialpartytab.h
@@ -137,7 +137,11 @@ class SocialPartyTab final : public SocialTab,
_("Leave Party?"),
// TRANSLATORS: party leave message
strprintf(_("Are you sure you want to leave party %s?"),
- mParty->getName().c_str()), SOUND_REQUEST, socialWindow);
+ mParty->getName().c_str()),
+ SOUND_REQUEST,
+ false,
+ Modal_false,
+ socialWindow);
mConfirmDialog->addActionListener(this);
}