diff options
| author | Jesper K. Pedersen <jesper.pedersen@kdab.com> | 2013-05-06 12:58:47 +0200 |
|---|---|---|
| committer | Jesper K. Pedersen <jesper.pedersen@kdab.com> | 2013-05-13 10:16:37 +0200 |
| commit | e7e1385068f93584b57e384d751af96757f678c6 (patch) | |
| tree | 88552f46d6e6ba745162d1c7d52b87458e7c38b3 /scriptrunner.cpp | |
| parent | 372abbc623c4d248950cc5aa925941dbf64471c8 (diff) | |
ported the work to master
Change-Id: Iadf6b1c031883e085b13e5775662c7a135e1d971
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Diffstat (limited to 'scriptrunner.cpp')
| -rw-r--r-- | scriptrunner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scriptrunner.cpp b/scriptrunner.cpp index 38ccf39..1426d01 100644 --- a/scriptrunner.cpp +++ b/scriptrunner.cpp @@ -40,7 +40,7 @@ #include <coreplugin/editormanager/editormanager.h> #include <coreplugin/editormanager/ieditor.h> -#include <wrap_helpers.h> +#include <scriptwrapper/wrap_helpers.h> #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(); } |
