From b2f3d8e47c2580db5d0b68e61bc37556b9df63a3 Mon Sep 17 00:00:00 2001 From: Tannin Date: Fri, 1 Mar 2013 13:03:30 +0100 Subject: - 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 --- src/nexusdialog.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nexusdialog.cpp') 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); } -- cgit v1.3.1