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
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2013-11-07 13:14:12 +0400
committerDaniel Molkentin <danimo@owncloud.com>2013-11-07 13:14:12 +0400
commitec0f01fd7c5584843355f1f5bc0adfb49b65288e (patch)
tree13b4987d26febe06e919a22b4440c23075b2d980 /src/wizard
parent800abbf8b7c5b21a37e4fe1deddca065c11b94fc (diff)
Ensure an SSL Error Handler is always available
Diffstat (limited to 'src/wizard')
-rw-r--r--src/wizard/owncloudhttpcredspage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wizard/owncloudhttpcredspage.cpp b/src/wizard/owncloudhttpcredspage.cpp
index 1128a13cc..64e50f5dd 100644
--- a/src/wizard/owncloudhttpcredspage.cpp
+++ b/src/wizard/owncloudhttpcredspage.cpp
@@ -69,7 +69,8 @@ void OwncloudHttpCredsPage::initializePage()
WizardCommon::initErrorLabel(_ui.errorLabel);
OwncloudWizard* ocWizard = qobject_cast< OwncloudWizard* >(wizard());
- HttpCredentials *httpCreds = qobject_cast<HttpCredentials*>(ocWizard->account()->credentials());
+ AbstractCredentials *cred = ocWizard->account()->credentials();
+ HttpCredentials *httpCreds = qobject_cast<HttpCredentials*>(cred);
if (httpCreds) {
const QString user = httpCreds->user();
if (!user.isEmpty()) {