Update PegLib, Fix Database Searching CFG (#5244)

* Support C++20 Standard

* Update peglib.h

* Fix lambdas

* Move from for loops to std::any/all_of

* Support fixed CFG

* Fix Rarity Search to be more accurate
This commit is contained in:
Zach H 2024-12-20 22:37:08 -05:00 committed by GitHub
parent 0d99b2bcf4
commit 91d2485940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 3851 additions and 2192 deletions

View file

@ -138,7 +138,7 @@ ZoneViewWidget::ZoneViewWidget(Player *_player,
// QLabel sizes aren't taken into account until the widget is rendered.
// Force refresh after 1ms to fix glitchy rendering with long QLabels.
auto *lastResizeBeforeVisibleTimer = new QTimer(this);
connect(lastResizeBeforeVisibleTimer, &QTimer::timeout, this, [=] {
connect(lastResizeBeforeVisibleTimer, &QTimer::timeout, this, [=, this] {
resizeToZoneContents();
disconnect(lastResizeBeforeVisibleTimer);
lastResizeBeforeVisibleTimer->deleteLater();