Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/creds
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2014-04-06 21:34:56 +0400
committerMarkus Goetz <markus@woboq.com>2014-04-21 21:57:15 +0400
commit77ac0929751ce4576a31cccdd87af7cd2aab1626 (patch)
treee340e14d6176047fb92685fe98eda9a1f99a567e /src/creds
parent934eda128bd5a1ad4e21611a3bb9b801a2a65750 (diff)
WiP: Attempt to compile without UI
Diffstat (limited to 'src/creds')
-rw-r--r--src/creds/tokencredentials.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/creds/tokencredentials.cpp b/src/creds/tokencredentials.cpp
index fe3cf457f..0804cc5d4 100644
--- a/src/creds/tokencredentials.cpp
+++ b/src/creds/tokencredentials.cpp
@@ -17,8 +17,6 @@
#include <QDebug>
#include <QNetworkReply>
#include <QSettings>
-#include <QInputDialog>
-
#include "mirall/account.h"
#include "mirall/mirallaccessmanager.h"
@@ -179,17 +177,7 @@ bool TokenCredentials::stillValid(QNetworkReply *reply)
QString TokenCredentials::queryPassword(bool *ok)
{
- qDebug() << AccountManager::instance()->account()->state();
- if (ok) {
- QString str = QInputDialog::getText(0, tr("Enter Password"),
- tr("Please enter %1 password for user '%2':")
- .arg(Theme::instance()->appNameGUI(), _user),
- QLineEdit::Password, QString(), ok);
- qDebug() << AccountManager::instance()->account()->state();
- return str;
- } else {
- return QString();
- }
+ return QString();
}
void TokenCredentials::invalidateToken(Account *account)