Skip to content
Sign up
Sign in
This repository
Explore
Features
Enterprise
Blog
Star
3
Fork
0
frida
/
geoshark
Code
Issues
Pull Requests
Pulse
Graphs
HTTPS
clone URL
Subversion
checkout URL
You can clone with
HTTPS
or
Subversion
.
Download ZIP
Permalink
Browse code
Add error-handling
Loading branch information
...
commit
f5a8d73bbcf7222e89eb739ba2ba6f794e05b831
1 parent
e051573
oleavr
authored
Jun 22, 2014
Unified
Split
Showing
1 changed file
with
11 additions
and
0 deletions
.
+
11
−
0
geoshark.qml
11
geoshark.qml
Show notes
View
@@ -1,5 +1,6 @@
import QtQuick 2.2
import QtQuick.Controls 1.1
+import QtQuick.Dialogs 1.1
import QtQuick.Window 2.0
import QtQuick.Layouts 1.1
@@ -58,6 +59,12 @@ ApplicationWindow {
}
}
+ MessageDialog {
+ id: errorDialog
+ title: "Error"
+ icon: StandardIcon.Critical
+ }
+
ProcessListModel {
id: processModel
device: Frida.localSystem
@@ -66,6 +73,10 @@ ApplicationWindow {
Script {
id: script
url: Qt.resolvedUrl("./agent.js")
+ onError: {
+ errorDialog.text = message;
+ errorDialog.open();
+ }
onMessage: {
messages.append(JSON.stringify(object) + "\n");
}
Toggle all file notes
Please
sign in
to comment.
Something went wrong with that request. Please try again.