forked from qt-creator/qt-creator
QML: Use new message manager API
That is more evocative. Also avoid some instances of popping up the general messages pane, which should preferably only happen on direct user interaction. Task-number: QTCREATORBUG-24430 Change-Id: I69bb49f84c1486fd32b2a048ca4d76dceb6a0b2b Reviewed-by: Knud Dollereder <knud.dollereder@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -119,7 +119,7 @@ static bool defaultFileClassifier(const QString &filename)
|
||||
|
||||
static void defaultFpsHandler(quint16 frames[8])
|
||||
{
|
||||
Core::MessageManager::write(QString::fromLatin1("QML preview: %1 fps").arg(frames[0]));
|
||||
Core::MessageManager::writeSilently(QString::fromLatin1("QML preview: %1 fps").arg(frames[0]));
|
||||
}
|
||||
|
||||
class QmlPreviewPluginPrivate : public QObject
|
||||
|
||||
Reference in New Issue
Block a user