-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load stylesheets properly when in AppImage or make install #4364
Conversation
If it works then it should be fine |
Yes, it works |
rpcs3/rpcs3qt/gui_settings.cpp
Outdated
for (const QFileInfo &entry : linux_entries) | ||
{ | ||
res.append(entry.baseName()); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed these code blocks were already implemented as a reuseable function in gui::utils::get_dir_entries
in qt_utils.cpp
you might just use: res.append(gui::utils::get_dir_entries(dir, nameFilter));
same goes for the guiconfigs part above.
(If it makes sense to do that)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adressed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just so neko no mergerino
rpcs3/rpcs3qt/gui_settings.cpp
Outdated
res.removeDuplicates(); | ||
#endif | ||
res.sort(Qt::CaseInsensitive); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these 4 lines of space indentations (244-247) the unwanted abomination I was talking about?
is this april fools?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not seeing them. Maybe just April Fools on your end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh wait, nvm, I dunno what happened there.
@Nekotekina I've taken BSDs into account, ready for merge? |
-Wno-invalid-pch
was added because it was spammed constantly by gcc on Arch Linux.
-Wno-unused-command-line-argument
was added because it was occasionally spammed, during the build.