summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-05-26 20:42:15 +0200
committerTannin <devnull@localhost>2015-05-26 20:42:15 +0200
commitc05be9f5c3dc1b97d540cf9de7d99d0c0d692db7 (patch)
treeb92f2b27a2583f8791acd3c8e32c6af5a1231d1e /src/mainwindow.cpp
parent75714907d95503955c3187cda6295604a5b4cac4 (diff)
small stuff
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 08de0da6..3265981d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2245,8 +2245,9 @@ void MainWindow::resumeDownload(int downloadIndex)
} else {
QString username, password;
if (m_OrganizerCore.settings().getNexusLogin(username, password)) {
- //m_PostLoginTasks.push_back(boost::bind(&MainWindow::resumeDownload, _1, downloadIndex));
- m_OrganizerCore.doAfterLogin([this, downloadIndex] () { this->resumeDownload(downloadIndex); });
+ m_OrganizerCore.doAfterLogin([this, downloadIndex] () {
+ this->resumeDownload(downloadIndex);
+ });
NexusInterface::instance()->getAccessManager()->login(username, password);
} else {
MessageDialog::showMessage(tr("You need to be logged in with Nexus to resume a download"), this);