diff --git a/app/scanner2/mainwindow.cpp b/app/scanner2/mainwindow.cpp index e93142f1..4b9d9274 100644 --- a/app/scanner2/mainwindow.cpp +++ b/app/scanner2/mainwindow.cpp @@ -3116,7 +3116,7 @@ static int getDays(int year, int month) return 31; } -static int getPathVersion() +static int getPatchVersion() { QDate date = QLocale(QLocale::English).toDate(__DATE__, "MMM dd yyyy"); int year = date.year(); @@ -3198,7 +3198,7 @@ void MainWindow::on_act_about_triggered() } #endif - patchVersion = getPathVersion(); + patchVersion = getPatchVersion(); HGChar version[32] = { 0 }; sprintf(version, "%d.%d.%d.%d", mainVersion, subVersion, buildVersion, patchVersion);