diff --git a/ProfileInterface.cpp b/ProfileInterface.cpp index 7e453a8..e41a305 100755 --- a/ProfileInterface.cpp +++ b/ProfileInterface.cpp @@ -55,6 +55,7 @@ ProfileInterface::ProfileInterface(ProfileDatabase *profileDB, CrewDatabase *cre ui->cmdImport->setEnabled(false); ui->cmdCloseProfile->setEnabled(false); loadingStr = ui->labProfileLoading->text(); + enabledPicStr = tr("Enabled pictures: %1 of %2"); selectedWidgts = 0; profileFolder = ""; profileLoader = 0; @@ -62,6 +63,7 @@ ProfileInterface::ProfileInterface(ProfileDatabase *profileDB, CrewDatabase *cre QPalette palette; QColor baseColor = palette.base().color(); + ui->labVersion->setText(ui->labVersion->text().arg(GTA5SYNC_APPSTR, GTA5SYNC_APPVER)); ui->saProfile->setStyleSheet(QString("QWidget#saProfileContent{background-color: rgb(%1, %2, %3)}").arg(QString::number(baseColor.red()),QString::number(baseColor.green()),QString::number(baseColor.blue()))); } diff --git a/ProfileInterface.h b/ProfileInterface.h index 78d98f9..a17e22d 100755 --- a/ProfileInterface.h +++ b/ProfileInterface.h @@ -81,6 +81,7 @@ private: QList pictures; QMap widgets; QSpacerItem *saSpacerItem; + QString enabledPicStr; QString profileFolder; QString profileName; QString loadingStr; diff --git a/ProfileInterface.ui b/ProfileInterface.ui index 128b4f9..f05eeba 100755 --- a/ProfileInterface.ui +++ b/ProfileInterface.ui @@ -163,6 +163,13 @@ 9 + + + + %1 %2 + + + diff --git a/UserInterface.cpp b/UserInterface.cpp index fb2c6f8..33f686f 100755 --- a/UserInterface.cpp +++ b/UserInterface.cpp @@ -57,6 +57,7 @@ UserInterface::UserInterface(ProfileDatabase *profileDB, CrewDatabase *crewDB, D defaultWindowTitle = tr("gta5sync - %1"); this->setWindowTitle(defaultWindowTitle.arg(tr("Select Profile"))); + ui->labVersion->setText(ui->labVersion->text().arg(GTA5SYNC_APPSTR, GTA5SYNC_APPVER)); } void UserInterface::setupDirEnv() diff --git a/UserInterface.ui b/UserInterface.ui index bbf3453..544fafb 100755 --- a/UserInterface.ui +++ b/UserInterface.ui @@ -84,6 +84,13 @@ + + + + %1 %2 + + + @@ -128,7 +135,7 @@ 0 0 625 - 19 + 21