mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
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:
parent
0d99b2bcf4
commit
91d2485940
10 changed files with 3851 additions and 2192 deletions
|
|
@ -175,7 +175,7 @@ void PrintingSelector::getAllSetsForCurrentCard()
|
|||
// Defer widget creation
|
||||
currentIndex = 0;
|
||||
|
||||
connect(widgetLoadingBufferTimer, &QTimer::timeout, this, [=]() mutable {
|
||||
connect(widgetLoadingBufferTimer, &QTimer::timeout, this, [=, this]() mutable {
|
||||
for (int i = 0; i < BATCH_SIZE && currentIndex < setsToUse.size(); ++i, ++currentIndex) {
|
||||
auto *cardDisplayWidget = new PrintingSelectorCardDisplayWidget(this, deckEditor, deckModel, deckView,
|
||||
cardSizeWidget->getSlider(), selectedCard,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue