summary refs log tree commit diff
path: root/src/popups
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-05-25 13:03:49 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-05-26 22:54:51 +0200
commit4ee9e5c27ce1788db42728ace2df2b4c6aa9ceed (patch)
tree74cc4879b9d0d9dca7ecd26f5937ef92f7806a82 /src/popups
parentOptionally use precompiled headers (diff)
downloadnheko-4ee9e5c27ce1788db42728ace2df2b4c6aa9ceed.tar.xz
Improve compile times a tiny bit
Diffstat (limited to 'src/popups')
-rw-r--r--src/popups/PopupItem.cpp1
-rw-r--r--src/popups/PopupItem.h5
-rw-r--r--src/popups/SuggestionsPopup.h3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/popups/PopupItem.cpp b/src/popups/PopupItem.cpp

index 5513f942..b3784843 100644 --- a/src/popups/PopupItem.cpp +++ b/src/popups/PopupItem.cpp
@@ -1,3 +1,4 @@ +#include <QLabel> #include <QPaintEvent> #include <QPainter> #include <QStyleOption> diff --git a/src/popups/PopupItem.h b/src/popups/PopupItem.h
index 7a710fdb..17a4f6bc 100644 --- a/src/popups/PopupItem.h +++ b/src/popups/PopupItem.h
@@ -1,8 +1,5 @@ #pragma once -#include <QHBoxLayout> -#include <QLabel> -#include <QPoint> #include <QWidget> #include "../AvatarProvider.h" @@ -10,6 +7,8 @@ class Avatar; struct SearchResult; +class QLabel; +class QHBoxLayout; class PopupItem : public QWidget { diff --git a/src/popups/SuggestionsPopup.h b/src/popups/SuggestionsPopup.h
index 63c44538..73bfe6f7 100644 --- a/src/popups/SuggestionsPopup.h +++ b/src/popups/SuggestionsPopup.h
@@ -1,8 +1,5 @@ #pragma once -#include <QHBoxLayout> -#include <QLabel> -#include <QPoint> #include <QWidget> #include "CacheStructs.h"