From 6d7433d44c7f18cd84d2de105beb5c646ed0e355 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot 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 +#include + #include "ui_torrentcreatordlg.h" #include -- cgit v0.11.2