Qt: Fix focus mute an fast-forward mute interfering

This commit is contained in:
Vicki Pfau 2021-11-09 21:59:10 -08:00
parent 48fe88ce36
commit d2bf28b871
19 changed files with 97 additions and 93 deletions

View File

@ -535,9 +535,13 @@ void CoreController::overrideMute(bool override) {
if (m_mute) {
core->opts.mute = true;
} else {
int fakeBool = 0;
mCoreConfigGetIntValue(&core->config, "mute", &fakeBool);
core->opts.mute = fakeBool;
if (m_fastForward || m_fastForwardForced) {
core->opts.mute = m_fastForwardMute >= 0;
} else {
int fakeBool = 0;
mCoreConfigGetIntValue(&core->config, "mute", &fakeBool);
core->opts.mute = fakeBool;
}
}
core->reloadConfigOption(core, NULL, NULL);
}

View File

@ -1296,27 +1296,27 @@ Download-Größe: %3</translation>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>Fehler beim Öffnen der Speicherdatei: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Fehler beim Öffnen der Spieldatei: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation>Das GamePak kann nur auf unterstützten Plattformen herausgezogen werden!</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation>Konnte Snapshot-Datei %1 nicht zum Lesen öffnen</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation>Konnte Snapshot-Datei %1 nicht zum Schreiben öffnen</translation>
</message>

View File

@ -1292,27 +1292,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1293,27 +1293,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>Error al abrir el archivo de guardado: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Error al abrir el archivo del juego: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation>¡No se puede remover el cartucho en esta plataforma!</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation>Error al leer del archivo de captura: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation>Error al escribir al archivo de captura: %1</translation>
</message>

View File

@ -1293,27 +1293,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1294,27 +1294,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>Échec de l&apos;ouverture du fichier de sauvegarde : %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Échec de l&apos;ouverture du fichier de jeu : %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation>Échec de l&apos;ouverture de l&apos;instantané pour lire : %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation>Échec de l&apos;ouverture de l&apos;instantané pour écrire : %1</translation>
</message>

View File

@ -1293,27 +1293,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>Nem sikerült a mentésfájl megnyitása: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Nem sikerült a játékfájl megnyitása: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished">A játékkazettát nem lehet kirántani ismeretlen platformon!</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation type="unfinished">A pillanatkép fájljának olvasásra való megnyitása sikertelen: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation type="unfinished">A pillanatkép fájljának írásra való megnyitása sikertelen: %1</translation>
</message>

View File

@ -1293,27 +1293,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>Impossibile aprire il file di salvataggio: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Impossibile aprire il file di gioco: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation>Non riesco a strappare il pacchetto in una piattaforma inaspettata!</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation>Impossibile aprire il file snapshot per la lettura: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation>Impossibile aprire il file snapshot per la scrittura: %1</translation>
</message>

View File

@ -1293,27 +1293,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation>: %1</translation>
</message>

View File

@ -1293,27 +1293,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation> : %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation> : %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation> : %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation> : %1</translation>
</message>

View File

@ -1292,27 +1292,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>Gagal membuka fail tersimpan: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Gagal membuka fail permainan: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation type="unfinished">Gagal membuka fail snapshot untuk baca: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation type="unfinished">Gagal membuka fail snapshot untuk menulis: %1</translation>
</message>

View File

@ -1293,27 +1293,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Klarte ikke å åpne spillfil: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1292,27 +1292,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1292,27 +1292,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1293,27 +1293,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>Falhou em abrir o arquivo do save: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Falhou em abrir o arquivo do jogo: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation>Não pode arrancar o pacote numa plataforma inesperada!</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation>Falhou em abrir o arquivo do snapshot pra leitura: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation>Falhou em abrir o arquivo do snapshot pra gravação: %1</translation>
</message>

View File

@ -1296,27 +1296,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>Не удалось открыть файл сохранения: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Не удалось открыть файл игры: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation>Не удалось открыть файл изображения для считывания: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation>Не удалось открыть файл изображения для записи: %1</translation>
</message>

View File

@ -1292,27 +1292,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation type="unfinished"></translation>
</message>

View File

@ -1293,27 +1293,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>Kayıt dosyası ılamadı: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>Oyun dosyası ılamadı: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation>Beklenmedik bir platformda kartı çıkaramazsın!</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation>Anlık görüntü dosyası okuma için ılamadı: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation>Anlık görüntü dosyası yazma için ılamadı: %1</translation>
</message>

View File

@ -1296,27 +1296,27 @@ Download size: %3</source>
<context>
<name>QGBA::CoreController</name>
<message>
<location filename="../CoreController.cpp" line="715"/>
<location filename="../CoreController.cpp" line="719"/>
<source>Failed to open save file: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="746"/>
<location filename="../CoreController.cpp" line="750"/>
<source>Failed to open game file: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="771"/>
<location filename="../CoreController.cpp" line="775"/>
<source>Can&apos;t yank pack in unexpected platform!</source>
<translation></translation>
</message>
<message>
<location filename="../CoreController.cpp" line="848"/>
<location filename="../CoreController.cpp" line="852"/>
<source>Failed to open snapshot file for reading: %1</source>
<translation>: %1</translation>
</message>
<message>
<location filename="../CoreController.cpp" line="864"/>
<location filename="../CoreController.cpp" line="868"/>
<source>Failed to open snapshot file for writing: %1</source>
<translation>: %1</translation>
</message>