aboutsummaryrefslogtreecommitdiff
path: root/VMProtect/wait_cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'VMProtect/wait_cursor.h')
-rw-r--r--VMProtect/wait_cursor.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/VMProtect/wait_cursor.h b/VMProtect/wait_cursor.h
new file mode 100644
index 0000000..1f307f4
--- /dev/null
+++ b/VMProtect/wait_cursor.h
@@ -0,0 +1,13 @@
+#ifndef WAITCURSOR_H
+#define WAITCURSOR_H
+
+class WaitCursor
+{
+public:
+ WaitCursor() { QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); }
+ ~WaitCursor() { QApplication::restoreOverrideCursor(); }
+protected:
+private:
+};
+
+#endif \ No newline at end of file