diff --git a/UserInterface.cpp b/UserInterface.cpp
index 44a771b..b0f61cb 100755
--- a/UserInterface.cpp
+++ b/UserInterface.cpp
@@ -99,26 +99,15 @@ void UserInterface::setupDirEnv()
void UserInterface::setupProfileUi(QStringList GTAV_Profiles)
{
- bool profilesFound = true;
if (GTAV_Profiles.length() == 0)
{
- profilesFound = false;
-
- QPushButton *reloadBtn = new QPushButton(tr("&Reload"), ui->swSelection);
- reloadBtn->setObjectName("cmdReload");
- reloadBtn->setMinimumSize(0, 40);
- reloadBtn->setAutoDefault(true);
- ui->vlButtons->addWidget(reloadBtn);
- profileBtns.append(reloadBtn);
-
- QPushButton *changeDirBtn = new QPushButton(tr("Change GTA V &Folder"), ui->swSelection);
+ QPushButton *changeDirBtn = new QPushButton(tr("Select GTA V &Folder..."), ui->swSelection);
changeDirBtn->setObjectName("cmdChangeDir");
changeDirBtn->setMinimumSize(0, 40);
changeDirBtn->setAutoDefault(true);
ui->vlButtons->addWidget(changeDirBtn);
profileBtns.append(changeDirBtn);
- QObject::connect(reloadBtn, SIGNAL(clicked(bool)), this, SLOT(reloadProfiles_clicked()));
QObject::connect(changeDirBtn, SIGNAL(clicked(bool)), this, SLOT(changeFolder_clicked()));
}
else foreach(const QString >AV_Profile, GTAV_Profiles)
@@ -132,16 +121,6 @@ void UserInterface::setupProfileUi(QStringList GTAV_Profiles)
QObject::connect(profileBtn, SIGNAL(clicked(bool)), this, SLOT(profileButton_clicked()));
}
- if (profilesFound)
- {
- QPushButton *reloadBtn = new QPushButton(tr("&Reload"), ui->swSelection);
- reloadBtn->setObjectName("cmdReload");
- reloadBtn->setAutoDefault(true);
- ui->hlButtons->insertWidget(1, reloadBtn);
- profileBtns.append(reloadBtn);
-
- QObject::connect(reloadBtn, SIGNAL(clicked(bool)), this, SLOT(reloadProfiles_clicked()));
- }
profileBtns.at(0)->setFocus();
}
@@ -152,11 +131,11 @@ void UserInterface::changeFolder_clicked()
{
QDir::setCurrent(GTAV_Folder);
AppEnv::setGameFolder(GTAV_Folder);
- reloadProfiles_clicked();
+ on_cmdReload_clicked();
}
}
-void UserInterface::reloadProfiles_clicked()
+void UserInterface::on_cmdReload_clicked()
{
foreach(QPushButton *profileBtn, profileBtns)
{
diff --git a/UserInterface.h b/UserInterface.h
index c73f3f7..da661e0 100755
--- a/UserInterface.h
+++ b/UserInterface.h
@@ -44,7 +44,7 @@ private slots:
void profileLoaded();
void changeFolder_clicked();
void profileButton_clicked();
- void reloadProfiles_clicked();
+ void on_cmdReload_clicked();
void on_actionExit_triggered();
void on_actionSelect_profile_triggered();
void on_actionAbout_gta5sync_triggered();
diff --git a/UserInterface.ui b/UserInterface.ui
index ceef22f..c7c8542 100755
--- a/UserInterface.ui
+++ b/UserInterface.ui
@@ -97,6 +97,13 @@
+ -
+
+
+ &Reload
+
+
+
-
diff --git a/lang/gta5sync_ru.ts b/lang/gta5sync_ru.ts
index e302ac0..a7197f1 100755
--- a/lang/gta5sync_ru.ts
+++ b/lang/gta5sync_ru.ts
@@ -723,63 +723,63 @@ Export as:
Выбор профиля
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -796,7 +796,7 @@ Export as:
О программе gta5sync
-
+
Ctrl+A
@@ -805,55 +805,55 @@ Export as:
Закрыть
-
+
Ctrl+Q
-
+
-
+
Ctrl+P
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
@@ -861,8 +861,7 @@ Export as:
gta5sync
-
-
+
diff --git a/res/gta5sync_de.qm b/res/gta5sync_de.qm
index 1a442b0..65276d7 100755
Binary files a/res/gta5sync_de.qm and b/res/gta5sync_de.qm differ
diff --git a/res/gta5sync_de.ts b/res/gta5sync_de.ts
index 0e0538e..4065839 100755
--- a/res/gta5sync_de.ts
+++ b/res/gta5sync_de.ts
@@ -914,7 +914,7 @@ Exportieren als:
Über gta5sync
-
+
Strg+A
@@ -927,7 +927,7 @@ Exportieren als:
Optionen
-
+
Strg+O
@@ -936,7 +936,7 @@ Exportieren als:
Alles auswählen
-
+
Strg+S
@@ -953,7 +953,7 @@ Exportieren als:
Auswahl exportieren
-
+
Strg+E
@@ -962,7 +962,7 @@ Exportieren als:
Auswahl löschen
-
+
Strg+D
@@ -971,7 +971,7 @@ Exportieren als:
Schließen
-
+
Strg+Q
@@ -981,73 +981,73 @@ Exportieren als:
Profil auswählen
-
+
&Datei
-
+
&Hilfe
-
+
Bearb&eiten
-
+
&Profil
-
+
&Über gta5sync
-
-
+
+
&Schließen
-
+
&Profil auswählen
-
+
Strg+P
-
+
&Optionen
-
+
&Alles auswählen
-
+
Alles a&bwählen
-
+
Auswahl &exportieren...
-
+
Auswahl entfe&rnen
-
+
Strg+R
@@ -1057,20 +1057,24 @@ Exportieren als:
-
+
Profil auswählen
-
+
Wähle GTA V Ordner...
-
+
+
+ Wähle GTA V &Ordner...
+
+
- GTA V &Ordner ändern
+ GTA V &Ordner ändern
@@ -1081,8 +1085,7 @@ Exportieren als:
Grand Theft Auto V Ordner wurde nicht gefunden!
-
-
+
&Neuladen