Commit 192b0f23 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated method

parent 8497c04e
......@@ -322,7 +322,7 @@ KGrLGDialog::KGrLGDialog (QFile * savedGames,
// Mark row 0 (the most recently saved game) as the default selection.
lgList-> setSelectionMode (QAbstractItemView::SingleSelection);
lgList-> setCurrentRow (0);
lgList-> setItemSelected (lgList->currentItem(), true);
lgHighlight = 0;
connect(lgList, &QListWidget::itemClicked, this, &KGrLGDialog::lgSelect);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment