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()); }