summary refs log tree commit diff
path: root/src/dialogs
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-01-31 16:08:30 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-01-31 16:08:30 +0100
commit127fb9370b8e131ad460b27aaa72de178e929096 (patch)
tree5278c11f1b58dc9f2600f716d58301f116d05d29 /src/dialogs
parentOptimize includes a bit (diff)
downloadnheko-127fb9370b8e131ad460b27aaa72de178e929096.tar.xz
Remove metatypes from headers
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/UserProfile.cpp2
-rw-r--r--src/dialogs/UserProfile.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/UserProfile.cpp b/src/dialogs/UserProfile.cpp

index 273ffd54..f1dd77df 100644 --- a/src/dialogs/UserProfile.cpp +++ b/src/dialogs/UserProfile.cpp
@@ -15,6 +15,8 @@ using namespace dialogs; +Q_DECLARE_METATYPE(std::vector<DeviceInfo>) + constexpr int BUTTON_SIZE = 36; constexpr int BUTTON_RADIUS = BUTTON_SIZE / 2; constexpr int WIDGET_MARGIN = 20; diff --git a/src/dialogs/UserProfile.h b/src/dialogs/UserProfile.h
index 0f684cda..81276d2a 100644 --- a/src/dialogs/UserProfile.h +++ b/src/dialogs/UserProfile.h
@@ -15,8 +15,6 @@ struct DeviceInfo QString display_name; }; -Q_DECLARE_METATYPE(std::vector<DeviceInfo>) - class Proxy : public QObject { Q_OBJECT