src/version.cpp

changeset 264
76a025db4948
parent 250
2837b549e616
child 268
fb319526ba6c
equal deleted inserted replaced
263:59b6027b9843 264:76a025db4948
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 #include <QString> 19 #include <QString>
20 #include <time.h> 20 #include <time.h>
21 #include "version.h" 21 #include <hginfo.h>
22 #include "hginfo.h" 22 #include "src/version.h"
23 23
24 static QString makeVersionString(const Version &version) 24 static QString makeVersionString(const Version &version)
25 { 25 {
26 QString result = QString::number(version.major) + "." + QString::number(version.minor); 26 QString result = QString::number(version.major) + "." + QString::number(version.minor);
27 if (version.patch != 0) { 27 if (version.patch != 0) {

mercurial