diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
commit | 71fd4e8d3255e15c16a4f4b51c87222c661a5b33 (patch) | |
tree | 3942aec29f33b5ea2aa2e353451e10648f1bbb82 /src/gui/windows/logindialog.cpp | |
parent | 45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff) | |
download | mv-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz mv-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2 mv-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz mv-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip |
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r-- | src/gui/windows/logindialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp index 4c59ab34d..a97a2284e 100644 --- a/src/gui/windows/logindialog.cpp +++ b/src/gui/windows/logindialog.cpp @@ -61,7 +61,7 @@ LoginDialog::LoginDialog(LoginData *const data, std::string serverName, std::string *const updateHost) : // TRANSLATORS: login dialog name - Window(_("Login"), false, nullptr, "login.xml"), + Window(_("Login"), Modal_false, nullptr, "login.xml"), ActionListener(), KeyListener(), mLoginData(data), @@ -226,7 +226,7 @@ void LoginDialog::action(const ActionEvent &event) urlListener.url = url; // TRANSLATORS: question dialog ConfirmDialog *const confirmDlg = new ConfirmDialog( - _("Open register url"), url, SOUND_REQUEST, false, true); + _("Open register url"), url, SOUND_REQUEST, false, Modal_true); confirmDlg->postInit(); confirmDlg->addActionListener(&urlListener); } |