aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-07-12 10:06:10 +0200
committerDenis Kenzior <denkenz@gmail.com>2012-07-12 10:58:47 -0500
commit0d85b647e18dec0cf7b404247a2e84e84711d2b2 (patch)
tree4fe6bbc67cf79d42ee6f6fc070c3d9b1cd7133d0
parent01caed2f3b4d8f3ade5ce39d14908a3a93e11178 (diff)
downloadphonesim-0d85b647e18dec0cf7b404247a2e84e84711d2b2.tar.gz
control: use correct dbus error domain
Before it was org.ofono.phonesimError but should be consistent with the other error reports and should use org.ofono.phonesim.Error.
-rw-r--r--src/control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control.cpp b/src/control.cpp
index 9085acd..3f1dd45 100644
--- a/src/control.cpp
+++ b/src/control.cpp
@@ -711,7 +711,7 @@ QString Script::Run(const QString &name, const QDBusMessage &msg)
QScriptValue qsScript = engine.evaluate(contents);
if (qsScript.isError()) {
QString info = fileName + ", line " + qsScript.property("lineNumber").toString() + ", " + qsScript.toString();
- QDBusMessage reply = msg.createErrorReply(SERVICE "Error.ScriptExecError", info);
+ QDBusMessage reply = msg.createErrorReply(SERVICE ".Error.ScriptExecError", info);
QDBusConnection::sessionBus().send(reply);
return QString();
}