diff options
| author | Tannin <devnull@localhost> | 2013-03-01 13:03:30 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-03-01 13:03:30 +0100 |
| commit | b2f3d8e47c2580db5d0b68e61bc37556b9df63a3 (patch) | |
| tree | 5e0b72a44f24b9bba3084fc3e2a0c0765a76a648 /src/nexusdialog.cpp | |
| parent | 8b4e11060b37ad70754aa665ad59744eadd2dd1e (diff) | |
- rewrote the mechanism removing the Archive List limit
- openfile is now rerouted
- .jar files can now be added as executables directly
- bugfix: no message was displayed when checking for updates with no valid credentials configured
- added a readme with compilation instructions
Diffstat (limited to 'src/nexusdialog.cpp')
| -rw-r--r-- | src/nexusdialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nexusdialog.cpp b/src/nexusdialog.cpp index 91c0caf8..6d8e850b 100644 --- a/src/nexusdialog.cpp +++ b/src/nexusdialog.cpp @@ -142,8 +142,8 @@ void NexusDialog::login(const QString &username, const QString &password) { m_AccessManager->login(username, password); - connect(m_AccessManager, SIGNAL(loginSuccessful(bool)), this, SLOT(loginFinished(bool))); - connect(m_AccessManager, SIGNAL(loginFailed(QString)), this, SLOT(loginFailed(QString))); + connect(m_AccessManager, SIGNAL(loginSuccessful(bool)), this, SLOT(loginFinished(bool)), Qt::UniqueConnection); + connect(m_AccessManager, SIGNAL(loginFailed(QString)), this, SLOT(loginFailed(QString)), Qt::UniqueConnection); } @@ -160,6 +160,7 @@ void NexusDialog::loginFinished(bool necessary) if (necessary && this->isVisible()) { MessageDialog::showMessage(tr("login successful"), this); } + loadNexus(); emit loginSuccessful(necessary); } |
