Use single quoted char instead of double qouted
Fixes Krazy issu "Check single-char QString operations for efficiency". SVN_SILENT
This commit is contained in:
parent
aecaaeb48e
commit
d00655fbcc
1 changed files with 2 additions and 2 deletions
|
@ -57,12 +57,12 @@ KWin::Script::Script(int scriptId, QString scriptName, QDir dir, QObject *parent
|
|||
, m_running(false)
|
||||
{
|
||||
m_scriptFile.setFileName(dir.filePath(scriptName));
|
||||
QDBusConnection::sessionBus().registerObject("/" + QString::number(m_scriptId), this, QDBusConnection::ExportScriptableContents | QDBusConnection::ExportScriptableInvokables);
|
||||
QDBusConnection::sessionBus().registerObject('/' + QString::number(m_scriptId), this, QDBusConnection::ExportScriptableContents | QDBusConnection::ExportScriptableInvokables);
|
||||
}
|
||||
|
||||
KWin::Script::~Script()
|
||||
{
|
||||
QDBusConnection::sessionBus().unregisterObject("/" + QString::number(m_scriptId));
|
||||
QDBusConnection::sessionBus().unregisterObject('/' + QString::number(m_scriptId));
|
||||
}
|
||||
|
||||
void KWin::Script::printMessage(const QString &message)
|
||||
|
|
Loading…
Reference in a new issue