mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-15 11:25:13 +00:00
GUI: Open Log Location - Button (#2102)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
This commit is contained in:
parent
65f9bbbfed
commit
93402620de
|
@ -17,6 +17,7 @@
|
||||||
#ifdef ENABLE_UPDATER
|
#ifdef ENABLE_UPDATER
|
||||||
#include "check_update.h"
|
#include "check_update.h"
|
||||||
#endif
|
#endif
|
||||||
|
#include <QDesktopServices>
|
||||||
#include <toml.hpp>
|
#include <toml.hpp>
|
||||||
#include "background_music_player.h"
|
#include "background_music_player.h"
|
||||||
#include "common/logging/backend.h"
|
#include "common/logging/backend.h"
|
||||||
|
@ -203,6 +204,16 @@ SettingsDialog::SettingsDialog(std::span<const QString> physical_devices,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DEBUG TAB
|
||||||
|
{
|
||||||
|
connect(ui->OpenLogLocationButton, &QPushButton::clicked, this, []() {
|
||||||
|
QString userPath;
|
||||||
|
Common::FS::PathToQString(userPath,
|
||||||
|
Common::FS::GetUserPath(Common::FS::PathType::UserDir));
|
||||||
|
QDesktopServices::openUrl(QUrl::fromLocalFile(userPath + "/log"));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Descriptions
|
// Descriptions
|
||||||
{
|
{
|
||||||
// General
|
// General
|
||||||
|
|
|
@ -1394,6 +1394,13 @@
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="OpenLogLocationButton">
|
||||||
|
<property name="text">
|
||||||
|
<string>Open Log Location</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>مرشح السجل</translation>
|
<translation>مرشح السجل</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>افتح موقع السجل</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>إدخال</translation>
|
<translation>إدخال</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Åbn logplacering</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Indtastning</translation>
|
<translation>Indtastning</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log-Filter</translation>
|
<translation>Log-Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Protokollspeicherort öffnen</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Eingabe</translation>
|
<translation>Eingabe</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Άνοιγμα τοποθεσίας αρχείου καταγραφής</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Είσοδος</translation>
|
<translation>Είσοδος</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Open Log Location</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Input</translation>
|
<translation>Input</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Filtro de registro</translation>
|
<translation>Filtro de registro</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Abrir ubicación del registro</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Entrada</translation>
|
<translation>Entrada</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log فیلتر</translation>
|
<translation>Log فیلتر</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>باز کردن مکان گزارش</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>ورودی</translation>
|
<translation>ورودی</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Lokisuodatin</translation>
|
<translation>Lokisuodatin</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Avaa lokin sijainti</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Syöttö</translation>
|
<translation>Syöttö</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Filtre</translation>
|
<translation>Filtre</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Ouvrir l'emplacement du journal</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Entrée</translation>
|
<translation>Entrée</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Naplózási Filter</translation>
|
<translation>Naplózási Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Napló helyének megnyitása</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Bemenet</translation>
|
<translation>Bemenet</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Buka Lokasi Log</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Masukan</translation>
|
<translation>Masukan</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Filtro Log</translation>
|
<translation>Filtro Log</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Apri posizione del registro</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Input</translation>
|
<translation>Input</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>ログフィルター</translation>
|
<translation>ログフィルター</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>ログの場所を開く</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>入力</translation>
|
<translation>入力</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>로그 위치 열기</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Input</translation>
|
<translation>Input</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Atidaryti žurnalo vietą</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Įvestis</translation>
|
<translation>Įvestis</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Logg filter</translation>
|
<translation>Logg filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Åpne loggplassering</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Inndata</translation>
|
<translation>Inndata</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Loglocatie openen</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Invoer</translation>
|
<translation>Invoer</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Filtrowanie dziennika</translation>
|
<translation>Filtrowanie dziennika</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Otwórz lokalizację dziennika</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Wejście</translation>
|
<translation>Wejście</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Filtro do Registro</translation>
|
<translation>Filtro do Registro</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Abrir local do log</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Entradas</translation>
|
<translation>Entradas</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Deschide locația jurnalului</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Introducere</translation>
|
<translation>Introducere</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Фильтр логов</translation>
|
<translation>Фильтр логов</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Открыть местоположение журнала</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Ввод</translation>
|
<translation>Ввод</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Filtri i Ditarit</translation>
|
<translation>Filtri i Ditarit</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Hap vendndodhjen e regjistrit</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Hyrja</translation>
|
<translation>Hyrja</translation>
|
||||||
|
|
|
@ -1064,6 +1064,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Loggfilter</translation>
|
<translation>Loggfilter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Öppna loggplats</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Inmatning</translation>
|
<translation>Inmatning</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Kayıt Filtresi</translation>
|
<translation>Kayıt Filtresi</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Günlük Konumunu Aç</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Girdi</translation>
|
<translation>Girdi</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Фільтр логів</translation>
|
<translation>Фільтр логів</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Відкрити місце розташування журналу</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Введення</translation>
|
<translation>Введення</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>Mở vị trí nhật ký</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>Đầu vào</translation>
|
<translation>Đầu vào</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>日志过滤</translation>
|
<translation>日志过滤</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>打开日志位置</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>输入</translation>
|
<translation>输入</translation>
|
||||||
|
|
|
@ -576,6 +576,10 @@
|
||||||
<source>Log Filter</source>
|
<source>Log Filter</source>
|
||||||
<translation>Log Filter</translation>
|
<translation>Log Filter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Open Log Location</source>
|
||||||
|
<translation>開啟日誌位置</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Input</source>
|
<source>Input</source>
|
||||||
<translation>輸入</translation>
|
<translation>輸入</translation>
|
||||||
|
|
Loading…
Reference in a new issue