aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp2
-rw-r--r--mobile-widgets/qmlmanager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 08882c324..9a8666a8c 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -89,7 +89,7 @@ extern "C" int gitProgressCB(const char *text)
return 0;
}
-void QMLManager::registerError(const QString &error)
+void QMLManager::registerError(QString error)
{
appendTextToLog(error);
if (!m_lastError.isEmpty())
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index cd2efdb35..2d5a58ac4 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -61,7 +61,7 @@ public:
};
static QMLManager *instance();
- Q_INVOKABLE void registerError(const QString &error);
+ Q_INVOKABLE void registerError(QString error);
QString consumeError();
QString cloudUserName() const;