mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Hide the exception on QML load from the UI.
Change-Id: Ib4bb21f5e7ec7e4d53d6dfe4f9098dd45575089a
This commit is contained in:
parent
c41d0e50f3
commit
3ec33023c3
2 changed files with 3 additions and 3 deletions
|
@ -70,10 +70,10 @@ public class Activator extends Plugin {
|
|||
protected IStatus run(IProgressMonitor monitor) {
|
||||
try {
|
||||
qmlAnalyzer.load();
|
||||
return Status.OK_STATUS;
|
||||
} catch (NoSuchMethodException | ScriptException | IOException e) {
|
||||
return new Status(IStatus.ERROR, ID, "loading QML analyzer", e);
|
||||
log(e);
|
||||
}
|
||||
return Status.OK_STATUS;
|
||||
}
|
||||
}.schedule();
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
\TEMPLATE = app
|
||||
TEMPLATE = app
|
||||
|
||||
QT += qml quick
|
||||
CONFIG += c++11
|
||||
|
|
Loading…
Add table
Reference in a new issue