CMakePM: Allow copy / editing of build directory

This reverts 69b0a2cafc

The build directory is preset and by having the ability to edit, you can
easily do a new build by appending a number.

When you have a new build directory a dialog will warn you that you'll
start from scratch. This is enough of a hinderniss to the user to start
typing and get lots of build directories. No need to have it read only.

Fixes: QTCREATORBUG-24451
Change-Id: Id1bc77d0fbcb071608f5ac83ddd6b8af943fdac5
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Cristian Adam
2021-06-09 19:42:45 +02:00
parent 0e613918b6
commit 26e856254c
5 changed files with 13 additions and 57 deletions

View File

@@ -138,9 +138,6 @@ public:
bool isReadOnly() const;
void setReadOnly(bool b);
bool isFileDialogOnly() const;
void setFileDialogOnly(bool b);
void triggerChanged();
// global handler for adding context menus to ALL pathchooser
@@ -164,7 +161,6 @@ private:
QString makeDialogTitle(const QString &title);
void slotBrowse();
void contextMenuRequested(const QPoint &pos);
void updateReadOnlyStateOfSubwidgets();
signals:
void validChanged(bool validState);