Use the correct ifdef (QT_WIDGETS_LIB) in qsqlrelationaldelegate.h
authorKent Hansen <kent.hansen@nokia.com>
Wed, 6 Jun 2012 11:12:50 +0000 (13:12 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 6 Jun 2012 13:29:34 +0000 (15:29 +0200)
Change-Id: I4cdb1eef7dab55c7d295463fe8ad29b5480b0788
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/sql/models/qsqlrelationaldelegate.h

index eb679a7..3b60229 100644 (file)
@@ -42,7 +42,7 @@
 #ifndef QSQLRELATIONALDELEGATE_H
 #define QSQLRELATIONALDELEGATE_H
 
-#ifdef QT_GUI_LIB
+#ifdef QT_WIDGETS_LIB
 
 #include <QtWidgets/qitemdelegate.h>
 #include <QtWidgets/qlistview.h>
@@ -123,6 +123,6 @@ QT_END_NAMESPACE
 
 QT_END_HEADER
 
-#endif // QT_GUI_LIB
+#endif // QT_WIDGETS_LIB
 
 #endif // QSQLRELATIONALDELEGATE_H