diff --git a/src/libs/utils/pathchooser.h b/src/libs/utils/pathchooser.h index 517fb4644f3094dccc00b16d746c0dd3dfaf0d58..6ba2a317040be52488b32c147afd3dfde8840f89 100644 --- a/src/libs/utils/pathchooser.h +++ b/src/libs/utils/pathchooser.h @@ -55,12 +55,13 @@ class QTCREATOR_UTILS_EXPORT PathChooser : public QWidget Q_OBJECT Q_ENUMS(Kind) Q_PROPERTY(QString path READ path WRITE setPath DESIGNABLE true) - Q_PROPERTY(Utils::FileName fileName READ fileName WRITE setFileName DESIGNABLE true) Q_PROPERTY(QString promptDialogTitle READ promptDialogTitle WRITE setPromptDialogTitle DESIGNABLE true) Q_PROPERTY(Kind expectedKind READ expectedKind WRITE setExpectedKind DESIGNABLE true) Q_PROPERTY(QString baseDirectory READ baseDirectory WRITE setBaseDirectory DESIGNABLE true) Q_PROPERTY(QStringList commandVersionArguments READ commandVersionArguments WRITE setCommandVersionArguments) Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly DESIGNABLE true) + // Designer does not know this type, so force designable to false: + Q_PROPERTY(Utils::FileName fileName READ fileName WRITE setFileName DESIGNABLE false) public: static const char * const browseButtonLabel;