summaryrefslogtreecommitdiff
path: root/ui/typedialog.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2020-11-23 23:16:47 -0500
committerRusty Wagner <rusty@vector35.com>2020-11-23 23:16:47 -0500
commit22cc41cec5adbe95d04c79fcda40a86f0a79c5fc (patch)
tree22805796d4e0be494efb18f21bc0d6a2c41a778f /ui/typedialog.h
parentefd35023dde49919c2f5549d5b5d3d2d6a31b1e0 (diff)
Don't export QThread classes from the bindings, they have issues in shiboken
Diffstat (limited to 'ui/typedialog.h')
-rw-r--r--ui/typedialog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/typedialog.h b/ui/typedialog.h
index 00a722bc..afd95ee9 100644
--- a/ui/typedialog.h
+++ b/ui/typedialog.h
@@ -5,11 +5,17 @@
#include <QtCore/QStringListModel>
#include <QtWidgets/QComboBox>
#include <QtCore/QTimer>
+#ifndef BINARYNINJAUI_BINDINGS
#include <QtCore/QThread>
+#endif
#include "binaryninjaapi.h"
#include "uitypes.h"
+#ifdef BINARYNINJAUI_BINDINGS
+// QThread has issues working in the bindings on some platforms
+class GetTypesListThread;
+#else
class BINARYNINJAUIAPI GetTypesListThread: public QThread
{
Q_OBJECT
@@ -29,6 +35,7 @@ public:
const QStringList& getTypes() const { return m_allTypes; }
};
+#endif
class BINARYNINJAUIAPI TypeDialog: public QDialog
{