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
|
||||
#include "check_update.h"
|
||||
#endif
|
||||
#include <QDesktopServices>
|
||||
#include <toml.hpp>
|
||||
#include "background_music_player.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
|
||||
{
|
||||
// General
|
||||
|
|
|
@ -1394,6 +1394,13 @@
|
|||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="OpenLogLocationButton">
|
||||
<property name="text">
|
||||
<string>Open Log Location</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>مرشح السجل</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>افتح موقع السجل</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>إدخال</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Åbn logplacering</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Indtastning</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log-Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Protokollspeicherort öffnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Eingabe</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Άνοιγμα τοποθεσίας αρχείου καταγραφής</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Είσοδος</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Open Log Location</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Input</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Filtro de registro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Abrir ubicación del registro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Entrada</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log فیلتر</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>باز کردن مکان گزارش</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>ورودی</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Lokisuodatin</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Avaa lokin sijainti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Syöttö</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Filtre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Ouvrir l'emplacement du journal</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Entrée</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Naplózási Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Napló helyének megnyitása</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Bemenet</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Buka Lokasi Log</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Masukan</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Filtro Log</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Apri posizione del registro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Input</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>ログフィルター</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>ログの場所を開く</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>入力</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>로그 위치 열기</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Input</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Atidaryti žurnalo vietą</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Įvestis</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Logg filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Åpne loggplassering</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Inndata</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Loglocatie openen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Invoer</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Filtrowanie dziennika</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Otwórz lokalizację dziennika</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Wejście</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Filtro do Registro</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Abrir local do log</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Entradas</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Deschide locația jurnalului</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Introducere</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Фильтр логов</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Открыть местоположение журнала</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Ввод</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Filtri i Ditarit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Hap vendndodhjen e regjistrit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Hyrja</translation>
|
||||
|
|
|
@ -1064,6 +1064,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Loggfilter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Öppna loggplats</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Inmatning</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Kayıt Filtresi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Günlük Konumunu Aç</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Girdi</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Фільтр логів</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Відкрити місце розташування журналу</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Введення</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>Mở vị trí nhật ký</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>Đầu vào</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>日志过滤</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>打开日志位置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>输入</translation>
|
||||
|
|
|
@ -576,6 +576,10 @@
|
|||
<source>Log Filter</source>
|
||||
<translation>Log Filter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open Log Location</source>
|
||||
<translation>開啟日誌位置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Input</source>
|
||||
<translation>輸入</translation>
|
||||
|
|
Loading…
Reference in a new issue