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) { |