Add volume curve setting (#658)

* Add volume curve setting

* Qt: Add missing translations
This commit is contained in:
wheremyfoodat 2024-12-03 14:16:57 +02:00 committed by GitHub
parent 545ac81d81
commit 5f822b32d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 60 additions and 5 deletions

View file

@ -69,7 +69,7 @@ void CheatEntryWidget::editClicked() {
}
CheatEditDialog::CheatEditDialog(Emulator* emu, CheatEntryWidget& cheatEntry) : QDialog(), emu(emu), cheatEntry(cheatEntry) {
setWindowTitle("Edit Cheat");
setWindowTitle(tr("Edit Cheat"));
setAttribute(Qt::WA_DeleteOnClose);
setModal(true);
@ -161,7 +161,7 @@ void CheatEditDialog::rejected() {
CheatsWindow::CheatsWindow(Emulator* emu, const std::filesystem::path& cheatPath, QWidget* parent)
: QWidget(parent, Qt::Window), emu(emu), cheatPath(cheatPath) {
setWindowTitle("Cheats");
setWindowTitle(tr("Cheats"));
mainWindow = static_cast<MainWindow*>(parent);
QVBoxLayout* layout = new QVBoxLayout;