Skip to content

Commit f8c23e4

Browse files
committed
refactor: major bugfix for AEQ package manage, add untranslated string, remove crash reports sender
1 parent f0d7146 commit f8c23e4

27 files changed

+749
-1295
lines changed

resources/translations/jamesdsp_de.ts

Lines changed: 224 additions & 43 deletions
Large diffs are not rendered by default.

resources/translations/jamesdsp_en.ts

Lines changed: 217 additions & 60 deletions
Large diffs are not rendered by default.

resources/translations/jamesdsp_ru.ts

Lines changed: 217 additions & 60 deletions
Large diffs are not rendered by default.

src/config/AppConfig.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ AppConfig::AppConfig()
4343
DEFINE_KEY(VdcDefaultPath, ENCLOSE_QUOTES(getPath("vdc")));
4444
DEFINE_KEY(LiveprogDefaultPath, ENCLOSE_QUOTES(getPath("liveprog")));
4545

46-
DEFINE_KEY(SendCrashReports, true);
47-
4846
connect(this, &AppConfig::updated, this, &AppConfig::notify);
4947

5048
load();

src/config/AppConfig.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ class AppConfig :
7070

7171
ConvolverDefaultPath,
7272
VdcDefaultPath,
73-
LiveprogDefaultPath,
74-
75-
SendCrashReports
73+
LiveprogDefaultPath
7674
};
7775
Q_ENUM(Key);
7876

src/data/PresetProvider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ namespace PresetProvider
133133
{
134134
if (table[key] == data)
135135
{
136-
return key;
136+
return key;
137137
}
138138
}
139139

src/interface/fragment/FirstLaunchWizard.cpp

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@ FirstLaunchWizard::FirstLaunchWizard(QWidget *parent) :
3535
ui->stackedWidget->slideInIdx(1);
3636
});
3737
connect(ui->p3_next, &QPushButton::clicked, this, [&] {
38-
#ifndef NO_CRASH_HANDLER
39-
ui->stackedWidget->slideInIdx(2);
40-
#else
38+
// Note: p3b (crash report) has been removed and is now a placeholder
4139
ui->stackedWidget->slideInIdx(3);
42-
#endif
4340
});
4441
connect(ui->p3b_next, &QPushButton::clicked, this, [&] {
4542
ui->stackedWidget->slideInIdx(3);
@@ -51,13 +48,6 @@ FirstLaunchWizard::FirstLaunchWizard(QWidget *parent) :
5148
DesktopServices::openUrl("https://t.me/joinchat/FTKC2A2bolHkFAyO-fuPjw", this);
5249
});
5350

54-
connect(ui->p3b_viewReports, &QPushButton::clicked, [this] {
55-
DesktopServices::openUrl("https://gist.github.com/ThePBone/3c757623c31400e799ab786ad3bf0709", this);
56-
});
57-
58-
ui->p3b_rejectReports->setChecked(!AppConfig::instance().get<bool>(AppConfig::SendCrashReports));
59-
ui->p3b_allowReports->setChecked(AppConfig::instance().get<bool>(AppConfig::SendCrashReports));
60-
6151
ui->p3_systray_disable->setChecked(!AppConfig::instance().get<bool>(AppConfig::TrayIconEnabled));
6252
ui->p3_systray_enable->setChecked(AppConfig::instance().get<bool>(AppConfig::TrayIconEnabled));
6353
ui->p3_systray_minOnBoot->setEnabled(AppConfig::instance().get<bool>(AppConfig::TrayIconEnabled));
@@ -68,9 +58,6 @@ FirstLaunchWizard::FirstLaunchWizard(QWidget *parent) :
6858
connect(ui->p3_systray_disable, &QRadioButton::clicked, this, &FirstLaunchWizard::onSystrayRadioSelected);
6959
connect(ui->p3_systray_enable, &QRadioButton::clicked, this, &FirstLaunchWizard::onSystrayRadioSelected);
7060
connect(ui->p3_systray_minOnBoot, &QCheckBox::stateChanged, this, &FirstLaunchWizard::onSystrayAutostartToggled);
71-
72-
connect(ui->p3b_rejectReports, &QRadioButton::clicked, this, &FirstLaunchWizard::onCrashReportRadioSelected);
73-
connect(ui->p3b_allowReports, &QRadioButton::clicked, this, &FirstLaunchWizard::onCrashReportRadioSelected);
7461
}
7562

7663
FirstLaunchWizard::~FirstLaunchWizard()
@@ -107,8 +94,3 @@ void FirstLaunchWizard::onSystrayAutostartToggled(bool isChecked)
10794
QFile(path).remove();
10895
}
10996
}
110-
111-
void FirstLaunchWizard::onCrashReportRadioSelected()
112-
{
113-
AppConfig::instance().set(AppConfig::SendCrashReports, ui->p3b_allowReports->isChecked());
114-
}

src/interface/fragment/FirstLaunchWizard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class FirstLaunchWizard :
2929
private slots:
3030
void onSystrayRadioSelected();
3131
void onSystrayAutostartToggled(bool isChecked);
32-
void onCrashReportRadioSelected();
3332

3433
private:
3534
Ui::FirstLaunchWizard *ui;

0 commit comments

Comments
 (0)