diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-10 18:34:08 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-11 01:07:15 +0200 |
commit | 1782d5ad9a646ca2a6fab90da5f04c879ddaecd4 (patch) | |
tree | 9537ecd66dad2fbcb083da2ed07191727a8e10ef /main.cpp | |
parent | bf5f5091ef6daeaf7067f4fc8973eb068ddc52fc (diff) | |
download | MultiMC-1782d5ad9a646ca2a6fab90da5f04c879ddaecd4.tar MultiMC-1782d5ad9a646ca2a6fab90da5f04c879ddaecd4.tar.gz MultiMC-1782d5ad9a646ca2a6fab90da5f04c879ddaecd4.tar.lz MultiMC-1782d5ad9a646ca2a6fab90da5f04c879ddaecd4.tar.xz MultiMC-1782d5ad9a646ca2a6fab90da5f04c879ddaecd4.zip |
Implement icon picker, bring back raster icons.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -83,7 +83,8 @@ private slots: void doLogin(const QString &errorMsg) { LoginDialog* loginDlg = new LoginDialog(nullptr, errorMsg); - if (loginDlg->exec()) + loginDlg->exec(); + if (loginDlg->result() == QDialog::Accepted) { UserInfo uInfo{loginDlg->getUsername(), loginDlg->getPassword()}; |