Changeset 139 in tspsg-svn for trunk/src/globals.h
- Timestamp:
- Sep 29, 2010, 11:21:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/globals.h
r137 r139 114 114 } 115 115 116 /*! 117 * \brief Checks whether the updater app is installed/available. 118 * \return \c true if updater app is available, oherwise \c false. 119 * \note The updater app is only available under Windows at this moment. 120 * On other systems this function always returns \c false. 121 */ 122 inline bool hasUpdater() 123 { 124 #ifdef Q_OS_WIN32 125 return QFile::exists("updater/Update.exe"); 126 #else // Q_OS_WIN32 127 return false; 128 #endif // Q_OS_WIN32 129 } 130 116 131 #ifdef Q_OS_WIN32 117 132 /*!
Note: See TracChangeset
for help on using the changeset viewer.