Commit 7bde0147 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor EBN issues

parent cf7086b7
......@@ -47,4 +47,4 @@ find_package_handle_standard_args(Intltool
set(INTLTOOL_OPTIONS_DEFAULT
"--quiet"
)
\ No newline at end of file
)
file(GLOB _icons *.png)
ecm_install_icons(ICONS ${_icons}
DESTINATION ${ICON_INSTALL_DIR})
\ No newline at end of file
DESTINATION ${ICON_INSTALL_DIR})
......@@ -78,7 +78,7 @@ X-KDE-PluginInfo-Author=Martin Klapetek
X-KDE-PluginInfo-Email=mklapetek@kde.org
X-KDE-PluginInfo-Name=owncloud_kaccounts_ui
X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=http://kde.org
X-KDE-PluginInfo-Website=https://kde.org
X-KDE-PluginInfo-Category=Network
X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=GPL
......
......@@ -48,7 +48,7 @@ void QmlHelper::checkServer(const QString &username, const QString &password, co
m_password = password;
QString fixedUrl;
if (!path.startsWith("http://") && !path.startsWith("https://")) {
if (!path.startsWith(QLatin1String("http://")) && !path.startsWith(QLatin1String("https://"))) {
fixedUrl.append("https://");
fixedUrl.append(path);
} else {
......
......@@ -36,7 +36,7 @@ class QmlHelper : public QObject
Q_PROPERTY(QString errorMessage READ errorMessage NOTIFY errorMessageChanged)
public:
QmlHelper(QObject *parent = 0);
explicit QmlHelper(QObject *parent = 0);
~QmlHelper();
Q_INVOKABLE void checkServer(const QString &username, const QString &password, const QString &server);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment