mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
fix deprecation
This commit is contained in:
parent
6331eb1d8a
commit
29630868c5
@ -158,9 +158,18 @@ TrophyViewer::TrophyViewer(QString trophyPath, QString gameTrpPath) : QMainWindo
|
|||||||
this->addDockWidget(Qt::LeftDockWidgetArea, trophyInfoDock);
|
this->addDockWidget(Qt::LeftDockWidgetArea, trophyInfoDock);
|
||||||
|
|
||||||
// Connects checkbox signals to update trophy display
|
// Connects checkbox signals to update trophy display
|
||||||
|
#if (QT_VERSION < QT_VERSION_CHECK(6, 7, 0))
|
||||||
connect(showEarnedCheck, &QCheckBox::stateChanged, this, &TrophyViewer::updateTableFilters);
|
connect(showEarnedCheck, &QCheckBox::stateChanged, this, &TrophyViewer::updateTableFilters);
|
||||||
connect(showNotEarnedCheck, &QCheckBox::stateChanged, this, &TrophyViewer::updateTableFilters);
|
connect(showNotEarnedCheck, &QCheckBox::stateChanged, this, &TrophyViewer::updateTableFilters);
|
||||||
connect(showHiddenCheck, &QCheckBox::stateChanged, this, &TrophyViewer::updateTableFilters);
|
connect(showHiddenCheck, &QCheckBox::stateChanged, this, &TrophyViewer::updateTableFilters);
|
||||||
|
#else
|
||||||
|
connect(showEarnedCheck, &QCheckBox::checkStateChanged, this,
|
||||||
|
&TrophyViewer::updateTableFilters);
|
||||||
|
connect(showNotEarnedCheck, &QCheckBox::checkStateChanged, this,
|
||||||
|
&TrophyViewer::updateTableFilters);
|
||||||
|
connect(showHiddenCheck, &QCheckBox::checkStateChanged, this,
|
||||||
|
&TrophyViewer::updateTableFilters);
|
||||||
|
#endif
|
||||||
|
|
||||||
updateTrophyInfo();
|
updateTrophyInfo();
|
||||||
updateTableFilters();
|
updateTableFilters();
|
||||||
|
Loading…
Reference in New Issue
Block a user