Changeset f5c945d7ac in tspsg for src/globals.h
- Timestamp:
- Sep 29, 2010, 11:21:46 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 0007f69c46
- Parents:
- 131c5fc3ba
- git-author:
- Oleksii Serdiuk <contacts@…> (09/29/10 23:21:46)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/globals.h
r131c5fc3ba rf5c945d7ac 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.