Version splitting used wrong variable, causing version() to return [0,0,0]. Fixes #1329

master
Marius Kintel 2015-04-28 10:20:32 -04:00
parent 0e1b0daf36
commit 2dbf9755c3
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ isEmpty(VERSION) {
SHORTVERSION = $$section(VERSION, "-", 0, 0)
# Split version into Year Month [Day]
VERSION_SPLIT=$$split(DISPLAYVERSION, ".")
VERSION_SPLIT=$$split(SHORTVERSION, ".")
VERSION_YEAR=$$member(VERSION_SPLIT, 0)
VERSION_MONTH=$$member(VERSION_SPLIT, 1)
VERSION_DAY=$$member(VERSION_SPLIT, 2)