diff --git a/src/noggit/ui/windows/settingsPanel/SettingsPanel.cpp b/src/noggit/ui/windows/settingsPanel/SettingsPanel.cpp
index e47583b8..3830a340 100644
--- a/src/noggit/ui/windows/settingsPanel/SettingsPanel.cpp
+++ b/src/noggit/ui/windows/settingsPanel/SettingsPanel.cpp
@@ -44,54 +44,6 @@ namespace Noggit
setWindowFlags(windowFlags() | Qt::Tool | Qt::WindowStaysOnTopHint);
- connect(ui->gamePathField, &QLineEdit::textChanged, [&](QString value)
- {
- _settings->setValue("project/game_path", value);
- }
- );
-
-
- connect(ui->gamePathField_browse, &QPushButton::clicked, [=]
- {
- auto result(QFileDialog::getExistingDirectory(
- nullptr, "WoW Client Path", ui->gamePathField->text()));
-
- if (!result.isNull())
- {
- if (!(result.endsWith("/") || result.endsWith("\\")))
- {
- result += "/";
- }
-
- ui->gamePathField->setText(result);
- }
- }
- );
-
- connect(ui->clientPathField, &QLineEdit::textChanged, [&](QString value)
- {
- _settings->setValue("project/path", value);
- }
- );
-
-
- connect(ui->clientPathField_browse, &QPushButton::clicked, [=]
- {
- auto result(QFileDialog::getExistingDirectory(
- nullptr, "Project Path", ui->clientPathField->text()));
-
- if (!result.isNull())
- {
- if (!(result.endsWith("/") || result.endsWith("\\")))
- {
- result += "/";
- }
-
- ui->clientPathField->setText(result);
- }
- }
- );
-
connect(ui->importPathField, &QLineEdit::textChanged, [&](QString value)
{
_settings->setValue("project/import_file", value);
@@ -205,8 +157,6 @@ namespace Noggit
void settings::discard_changes()
{
- ui->gamePathField->setText(_settings->value("project/game_path").toString());
- ui->clientPathField->setText(_settings->value("project/path").toString());
ui->importPathField->setText(_settings->value("project/import_file", "import.txt").toString());
ui->wmvLogPathField->setText(_settings->value("project/wmv_log_file").toString());
ui->viewDistanceField->setValue(_settings->value("view_distance", 1000.f).toFloat());
@@ -269,8 +219,6 @@ namespace Noggit
void settings::save_changes()
{
- _settings->setValue("project/game_path", ui->gamePathField->text());
- _settings->setValue("project/path", ui->clientPathField->text());
_settings->setValue("project/import_file", ui->importPathField->text());
_settings->setValue("project/wmv_log_file", ui->wmvLogPathField->text());
_settings->setValue("farZ", ui->farZField->value());
diff --git a/src/noggit/ui/windows/settingsPanel/SettingsPanel.ui b/src/noggit/ui/windows/settingsPanel/SettingsPanel.ui
index a0d9007c..9c0bc589 100644
--- a/src/noggit/ui/windows/settingsPanel/SettingsPanel.ui
+++ b/src/noggit/ui/windows/settingsPanel/SettingsPanel.ui
@@ -79,7 +79,7 @@
- 2
+ 0
false
@@ -108,68 +108,7 @@
-
-
-
-
- 6
-
-
-
-
-
-
- 90
- 0
-
-
-
- Game Path
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
-
-
-
- -
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
-
-
-
- -
-
-
- Browse
-
-
-
-
-
- -
-
-
-
-
-
-
- 90
- 0
-
-
-
- Project Path
-
-
-
- -
-
-
- -
-
-
- Browse
-
-
-
-
+
-