Merge commit 'origin/1.0.0'

This commit is contained in:
con
2009-02-18 11:52:26 +01:00

View File

@@ -80,7 +80,7 @@ bool OutputCollector::listen()
return m_server->isListening();
m_server = new QLocalServer(this);
connect(m_server, SIGNAL(newConnection()), SLOT(newConnectionAvailable()));
return m_server->listen(QLatin1String("creator-") + QCoreApplication::applicationPid()); // XXX how to make that secure?
return m_server->listen(QLatin1String("creator-%1").arg(QCoreApplication::applicationPid())); // XXX how to make that secure?
#else
if (!m_serverPath.isEmpty())
return true;