Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9
-
None
-
9a753fa65 (dev), 0777144b4 (6.9), cf2a3598b (master)
Description
/*! Destroys the file dialog. */ QFileDialog::~QFileDialog() { Q_D(QFileDialog); #if QT_CONFIG(settings) d->saveSettings(); #endif
#if QT_CONFIG(settings) void QFileDialogPrivate::saveSettings() { Q_Q(QFileDialog); QSettings settings(QSettings::UserScope, u"QtProject"_s); settings.beginGroup("FileDialog"); ...
Please don't write to a global file from ALL applications. This should a) be opt-in; b) be in an application-specific file.
Attachments
Issue Links
- relates to
-
QTBUG-133804 Qt 5 and Qt 6 both use QtProject.conf, but in an incompatible way
-
- Open
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-133805 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
626506,3 | QFileDialog: delete the QSettings code and stop saving | dev | qt/qtbase | Status: NEW | 0 | 0 |
626629,3 | QColorDialogOptions: delete QSettings code and stop saving globally | dev | qt/qtbase | Status: MERGED | +2 | 0 |
628281,3 | QColorDialogOptions: delete QSettings code and stop saving globally | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
628483,3 | Core: Save custom QColorDialog colors | master | qt-creator/qt-creator | Status: MERGED | +2 | +1 |