Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
4.8.5, 5.2.0
-
None
Description
In QInputDialog usage example (http://qt-project.org/doc/qt-5.1/qtwidgets/qinputdialog.html#details) used code:
QDir::home().dirName(), but QDir::homePath() is shorter and theoretically faster, because home() is just a wrapper:
static inline QDir home() { return QDir(homePath()); }
Attachments
For Gerrit Dashboard: QTBUG-35575 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
140806,1 | Doc: Replaced QDir::home().dirName() with QDir::homePath() | 5.6 | qt/qtbase | Status: ABANDONED | -2 | 0 |