Qt UI still needs to be fixed.

This commit is contained in:
2025-02-10 00:15:25 +08:00
parent 6c60067ba7
commit 4a816f9f43
8 changed files with 4 additions and 20080 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -155,6 +155,7 @@ static QString PrettyProductName() {
GMainWindow::GMainWindow(Core::System& system_)
: ui{std::make_unique<Ui::MainWindow>()}, system{system_}, movie{system.Movie()},
config{std::make_unique<Config>()}, emu_thread{nullptr} {
setWindowIcon(QIcon(QString::fromUtf8(":256x256/lucina3ds.png")));
Common::Log::Initialize();
Common::Log::Start();
@ -3311,7 +3312,7 @@ int main(int argc, char* argv[]) {
#endif
QApplication app(argc, argv);
app.setWindowIcon(QIcon(QString::fromUtf8("/usr/share/icons/hicolor/512x512/apps/lucina3ds.png")));
// app.setWindowIcon(QIcon(QString::fromUtf8("/usr/share/icons/hicolor/512x512/apps/lucina3ds.png")));
// Qt changes the locale and causes issues in float conversion using std::to_string() when
@ -3336,7 +3337,7 @@ int main(int argc, char* argv[]) {
system.RegisterMicPermissionCheck(&AppleAuthorization::CheckAuthorizationForMicrophone);
#endif
main_window.setWindowIcon(QIcon(QString::fromUtf8("/usr/share/icons/hicolor/512x512/apps/lucina3ds.png")));
// main_window.setWindowIcon(QIcon(QString::fromUtf8("/usr/share/icons/hicolor/512x512/apps/lucina3ds.png")));
main_window.show();
QObject::connect(&app, &QGuiApplication::applicationStateChanged, &main_window,

View File

@ -602,7 +602,7 @@
</action>
<action name="action_Open_Lucina3DS_Folder">
<property name="text">
<string>&amp;Open Citra Folder</string>
<string>&amp;Open Lucina3DS Folder</string>
</property>
<property name="iconText">
<string>Open Lucina3DS Folder</string>