summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-08 05:33:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-08 05:33:09 +0100
commit4acd40cd2997b2702d9ab411a0c85d1a92a6189d (patch)
treef89b76a755501d31d800a8092b7ae5fd3e4483e8 /api
parent982c7841be3e677d575fea9136f1b46f2d1bc1fe (diff)
gui: prevent stderr whining if controls don't fit at runtime
Diffstat (limited to 'api')
-rw-r--r--api/plugin-api.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/api/plugin-api.hpp b/api/plugin-api.hpp
index 996d32d3..e9de9dad 100644
--- a/api/plugin-api.hpp
+++ b/api/plugin-api.hpp
@@ -12,6 +12,8 @@
#include <QWidget>
#include <QFrame>
#include <QIcon>
+#include <QWidget>
+#include <QDialog>
#include "export.hpp"
@@ -37,7 +39,7 @@ enum Axis {
namespace plugin_api {
namespace detail {
-class OPENTRACK_API_EXPORT BaseDialog : public QWidget
+class OPENTRACK_API_EXPORT BaseDialog : public QDialog
{
Q_OBJECT
protected: