summaryrefslogtreecommitdiff
path: root/ui/qt/main_window.h
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2017-01-11 13:55:23 +0100
committerRoland Knall <rknall@gmail.com>2017-01-12 16:04:00 +0000
commit3df81a055064e2e2c8c9548f1c6837ddef5e5034 (patch)
tree484d3a1e56679668e657ddb29fe6aa6a9d964cdf /ui/qt/main_window.h
parentd6d516888122a26d477dcaa39a52fc9cd8b24479 (diff)
downloadwireshark-3df81a055064e2e2c8c9548f1c6837ddef5e5034.tar.gz
Qt: Remove unneccessary Q_DECLARE_METATYPE
Remove unnecessary Q_DECLARE_METATYPE macros and replace calls to QVariant conversions with VariantPointer where necessary Change-Id: Ia4690590095f930bf94644197de7fa30b00ee7ec Reviewed-on: https://code.wireshark.org/review/19611 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r--ui/qt/main_window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h
index a020befe12..440476a85e 100644
--- a/ui/qt/main_window.h
+++ b/ui/qt/main_window.h
@@ -75,6 +75,9 @@ namespace Ui {
class MainWindow;
}
+Q_DECLARE_METATYPE(ts_type)
+Q_DECLARE_METATYPE(ts_precision)
+
class MainWindow : public QMainWindow
{
Q_OBJECT