From 8c65637407f7f15f8dd9955ab0517c941370ffe3 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Fri, 4 Feb 2011 09:34:10 +0100 Subject: Don't show msg boxes while saving ui forms Currently creator assumes that "save" is synchronous and doesn't enter internal event loop. Reviewed-by: Friedemann Kleint Task-number: QTCREATORBUG-3678 --- src/plugins/designer/qt_private/qtresourcemodel_p.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/plugins/designer/qt_private/qtresourcemodel_p.h') diff --git a/src/plugins/designer/qt_private/qtresourcemodel_p.h b/src/plugins/designer/qt_private/qtresourcemodel_p.h index 9c37268e51..5a351ca28d 100644 --- a/src/plugins/designer/qt_private/qtresourcemodel_p.h +++ b/src/plugins/designer/qt_private/qtresourcemodel_p.h @@ -48,6 +48,7 @@ #include "shared_global_p.h" #include #include +#include QT_BEGIN_NAMESPACE @@ -79,7 +80,7 @@ private: ~QtResourceSet(); friend class QtResourceModel; - class QtResourceSetPrivate *d_ptr; + QScopedPointer d_ptr; Q_DECLARE_PRIVATE(QtResourceSet) Q_DISABLE_COPY(QtResourceSet) }; @@ -124,7 +125,7 @@ signals: private: friend class QtResourceSet; - class QtResourceModelPrivate *d_ptr; + QScopedPointer d_ptr; Q_DECLARE_PRIVATE(QtResourceModel) Q_DISABLE_COPY(QtResourceModel) -- cgit v1.2.1