From acd4b64a8b9b348832cc89bb965a14422797b7d9 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Mon, 28 May 2012 14:16:05 +0200 Subject: [PATCH] Fix compilation with namespaced Qt. --- src/addnewtorrentdialog.h | 3 +++ src/executionlog.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/addnewtorrentdialog.h b/src/addnewtorrentdialog.h index 5349e3b1b..a1bea4339 100644 --- a/src/addnewtorrentdialog.h +++ b/src/addnewtorrentdialog.h @@ -35,9 +35,12 @@ #include #include +QT_BEGIN_NAMESPACE namespace Ui { class AddNewTorrentDialog; } +QT_END_NAMESPACE + class TorrentContentModel; class PropListDelegate; diff --git a/src/executionlog.h b/src/executionlog.h index f0eea0bda..2c3495b52 100644 --- a/src/executionlog.h +++ b/src/executionlog.h @@ -37,8 +37,8 @@ QT_BEGIN_NAMESPACE namespace Ui { class ExecutionLog; } -class LogListWidget; QT_END_NAMESPACE +class LogListWidget; class ExecutionLog : public QWidget {