From 4acd40cd2997b2702d9ab411a0c85d1a92a6189d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 8 Dec 2016 05:33:09 +0100 Subject: gui: prevent stderr whining if controls don't fit at runtime --- api/plugin-api.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'api') 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 #include #include +#include +#include #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: -- cgit v1.2.3