From 310166fb8984d18efbb8517b5444ee615d6c537a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 5 May 2022 21:20:30 +0300 Subject: [PATCH 45/45] Qt: Fix build with Qt6-6.4 Replace unsupported QVariant type with QString one. See osdn #44514 Signed-off-by: Marko Lindqvist --- client/gui-qt/pages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gui-qt/pages.cpp b/client/gui-qt/pages.cpp index 4fc0db8235..1d3c25aee7 100644 --- a/client/gui-qt/pages.cpp +++ b/client/gui-qt/pages.cpp @@ -1406,7 +1406,7 @@ void fc_client::update_load_page(void) QDateTime dt; item = new QTableWidgetItem(); - item->setData(Qt::UserRole, pfile->fullname); + item->setData(Qt::UserRole, QString(pfile->fullname)); saves_load->insertRow(row); item->setText(pfile->name); saves_load->setItem(row, 0, item); -- 2.35.1