Changeset 17724 in vbox for trunk/src/VBox/Frontends/VirtualBox/include
- Timestamp:
- Mar 12, 2009 9:32:18 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 44238
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h
r17714 r17724 36 36 #include <QProcess> 37 37 #include <QHash> 38 #include <QDesktopServices>39 #include <QDir>40 38 41 39 class QAction; … … 733 731 } 734 732 735 static inline QString documentsPath() 736 { 737 QString path; 738 #if QT_VERSION < 0x040400 739 path = QDir::homePath(); 740 #else 741 path = QDesktopServices::storageLocation (QDesktopServices::DocumentsLocation); 742 #endif 743 return QDir::cleanPath (path); 744 } 733 static QString documentsPath(); 745 734 746 735 signals:
Note:
See TracChangeset
for help on using the changeset viewer.