summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBoris Moiseev <cyberbobs@gmail.com>2010-10-06 13:51:37 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-10-06 13:51:37 (GMT)
commit0bcad9bd0d8c98807babe6ae3de2ef54dfbf7c22 (patch)
tree4d92e0bba666af4e528cc5e1a323468ac23cf81f /tools
parent55f7ab61482cbfdf93ab25e409649ecea9bcdb0e (diff)
downloadQt-0bcad9bd0d8c98807babe6ae3de2ef54dfbf7c22.zip
Qt-0bcad9bd0d8c98807babe6ae3de2ef54dfbf7c22.tar.gz
Qt-0bcad9bd0d8c98807babe6ae3de2ef54dfbf7c22.tar.bz2
Replaced the unnecessary include with declaration
Merge-request: 2286 Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qtconfig/previewframe.cpp1
-rw-r--r--tools/qtconfig/previewframe.h3
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/qtconfig/previewframe.cpp b/tools/qtconfig/previewframe.cpp
index d08b770..f37ac78 100644
--- a/tools/qtconfig/previewframe.cpp
+++ b/tools/qtconfig/previewframe.cpp
@@ -40,6 +40,7 @@
****************************************************************************/
#include "previewframe.h"
+#include "previewwidget.h"
#include <QBoxLayout>
#include <QPainter>
diff --git a/tools/qtconfig/previewframe.h b/tools/qtconfig/previewframe.h
index b21e529..41c5030 100644
--- a/tools/qtconfig/previewframe.h
+++ b/tools/qtconfig/previewframe.h
@@ -42,8 +42,6 @@
#ifndef PREVIEWFRAME_H
#define PREVIEWFRAME_H
-#include "previewwidget.h"
-
#include <QMdiArea>
QT_BEGIN_NAMESPACE
@@ -63,6 +61,7 @@ private:
PreviewFrame *previewFrame;
};
+class PreviewWidget;
class PreviewFrame : public QFrame
{
Q_OBJECT