Qt UI still needs to be fixed.
This commit is contained in:
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
@ -155,6 +155,7 @@ static QString PrettyProductName() {
|
|||||||
GMainWindow::GMainWindow(Core::System& system_)
|
GMainWindow::GMainWindow(Core::System& system_)
|
||||||
: ui{std::make_unique<Ui::MainWindow>()}, system{system_}, movie{system.Movie()},
|
: ui{std::make_unique<Ui::MainWindow>()}, system{system_}, movie{system.Movie()},
|
||||||
config{std::make_unique<Config>()}, emu_thread{nullptr} {
|
config{std::make_unique<Config>()}, emu_thread{nullptr} {
|
||||||
|
setWindowIcon(QIcon(QString::fromUtf8(":256x256/lucina3ds.png")));
|
||||||
Common::Log::Initialize();
|
Common::Log::Initialize();
|
||||||
Common::Log::Start();
|
Common::Log::Start();
|
||||||
|
|
||||||
@ -3311,7 +3312,7 @@ int main(int argc, char* argv[]) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
QApplication app(argc, argv);
|
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
|
// 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);
|
system.RegisterMicPermissionCheck(&AppleAuthorization::CheckAuthorizationForMicrophone);
|
||||||
#endif
|
#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();
|
main_window.show();
|
||||||
|
|
||||||
QObject::connect(&app, &QGuiApplication::applicationStateChanged, &main_window,
|
QObject::connect(&app, &QGuiApplication::applicationStateChanged, &main_window,
|
||||||
|
|||||||
@ -602,7 +602,7 @@
|
|||||||
</action>
|
</action>
|
||||||
<action name="action_Open_Lucina3DS_Folder">
|
<action name="action_Open_Lucina3DS_Folder">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Open Citra Folder</string>
|
<string>&Open Lucina3DS Folder</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconText">
|
<property name="iconText">
|
||||||
<string>Open Lucina3DS Folder</string>
|
<string>Open Lucina3DS Folder</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user