general: Fix compiler warnings on linux and miscellaneous changes

This commit is contained in:
Morph
2020-10-27 13:33:25 -04:00
parent 117bdc71e0
commit 97b2220a82
12 changed files with 31 additions and 22 deletions

View File

@ -4,6 +4,7 @@
#include <algorithm>
#include <memory>
#include <thread>
#include <utility>
#include <QGridLayout>
#include <QInputDialog>
@ -857,7 +858,7 @@ void ConfigureInputPlayer::UpdateControllerIcon() {
}
}();
const QString theme = [this] {
const QString theme = [] {
if (QIcon::themeName().contains(QStringLiteral("dark"))) {
return QStringLiteral("_dark");
} else if (QIcon::themeName().contains(QStringLiteral("midnight"))) {