summaryrefslogblamecommitdiff
path: root/user/ktorrent/qtimer.patch
blob: efbf740c0558931ad37319218271b34376a8d157 (plain) (tree)




























                                                                                        
From 6d7433d44c7f18cd84d2de105beb5c646ed0e355 Mon Sep 17 00:00:00 2001
From: Adriaan de Groot <groot@kde.org>
Date: Tue, 24 Apr 2018 19:15:32 +0200
Subject: QTimer may not be an incomplete type as it is used as a member
 variable. Add the #include to fully define the type. This problem shows up
 when this header is included in a context that doesn't already have QTimer
 included -- CMake 3.11 exposes that accidentally.

Upstreamed from FreeBSD ports.
---
 ktorrent/dialogs/torrentcreatordlg.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ktorrent/dialogs/torrentcreatordlg.h b/ktorrent/dialogs/torrentcreatordlg.h
index 68dde8a..12a1a43 100644
--- a/ktorrent/dialogs/torrentcreatordlg.h
+++ b/ktorrent/dialogs/torrentcreatordlg.h
@@ -23,6 +23,8 @@
 #define KT_TORRENTCREATORDLG_HH
 
 #include <QDialog>
+#include <QTimer>
+
 #include "ui_torrentcreatordlg.h"
 #include <torrent/torrentcreator.h>
 
-- 
cgit v0.11.2