From e7e1385068f93584b57e384d751af96757f678c6 Mon Sep 17 00:00:00 2001 From: "Jesper K. Pedersen" Date: Mon, 6 May 2013 12:58:47 +0200 Subject: ported the work to master Change-Id: Iadf6b1c031883e085b13e5775662c7a135e1d971 Reviewed-by: Nicolas Arnaud-Cormos --- scriptrunner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scriptrunner.cpp') diff --git a/scriptrunner.cpp b/scriptrunner.cpp index 38ccf39..1426d01 100644 --- a/scriptrunner.cpp +++ b/scriptrunner.cpp @@ -40,7 +40,7 @@ #include #include -#include +#include #include "scriptwrappers.h" #include "enumwappers.h" #include "utils/dialogs.h" @@ -100,7 +100,7 @@ static QScriptValue run(QScriptEngine* engine, const QString& fileName, bool rec } else { Core::MessageManager::instance()->printToOutputPane(QObject::tr("Error: %1 doesn't exist.\n").arg(fileName), - Utils::ErrorMessageFormat); + Core::MessageManager::Flash); engine->abortEvaluation(); return QScriptValue(); } -- cgit v1.2.3