mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 22:15:57 +03:00
owncloudsetuppage.cpp: also rename client/theme/lock-http(s) PNGs to SVG
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
parent
bb757c6a27
commit
a92a764c2a
1 changed files with 2 additions and 2 deletions
|
@ -178,11 +178,11 @@ void OwncloudSetupPage::slotUrlChanged(const QString &url)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!url.startsWith(QLatin1String("https://"))) {
|
if (!url.startsWith(QLatin1String("https://"))) {
|
||||||
_ui.urlLabel->setPixmap(QPixmap(Theme::hidpiFileName(":/client/theme/lock-http.png")));
|
_ui.urlLabel->setPixmap(QPixmap(Theme::hidpiFileName(":/client/theme/lock-http.svg")));
|
||||||
_ui.urlLabel->setToolTip(tr("This url is NOT secure as it is not encrypted.\n"
|
_ui.urlLabel->setToolTip(tr("This url is NOT secure as it is not encrypted.\n"
|
||||||
"It is not advisable to use it."));
|
"It is not advisable to use it."));
|
||||||
} else {
|
} else {
|
||||||
_ui.urlLabel->setPixmap(QPixmap(Theme::hidpiFileName(":/client/theme/lock-https.png")));
|
_ui.urlLabel->setPixmap(QPixmap(Theme::hidpiFileName(":/client/theme/lock-https.svg")));
|
||||||
_ui.urlLabel->setToolTip(tr("This url is secure. You can use it."));
|
_ui.urlLabel->setToolTip(tr("This url is secure. You can use it."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue