QmlObserver: Prevent messages from being sent if there is no server side

Actually this is fixed in QDeclarativeService::sendMessage, too, but the
fix won't be part of 4.7.1, so better double-check.

Reviewed-by: Christiaan Janssen
This commit is contained in:
Kai Koehne
2010-09-28 12:59:29 +02:00
parent eff5ceea64
commit 6929d66ff2
2 changed files with 10 additions and 0 deletions

View File

@@ -70,6 +70,8 @@ public:
void reloaded();
QString idStringForObject(QObject *obj) const;
void sendMessage(const QByteArray &message);
public Q_SLOTS:
void selectedColorChanged(const QColor &color);
void contextPathUpdated(const QStringList &contextPath);