From c4b2be45d29a247422e60bb8fdf1664c10384eee Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Mon, 6 Dec 2021 03:51:08 -0600 Subject: First pass for Qt6 compatibility --- src/filetree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/filetree.cpp') diff --git a/src/filetree.cpp b/src/filetree.cpp index cf20d4fd..02c85fdd 100644 --- a/src/filetree.cpp +++ b/src/filetree.cpp @@ -568,7 +568,7 @@ bool FileTree::showShellMenu(QPoint pos) .arg(item->realPath())); } - itor->second.addFile(item->realPath()); + itor->second.addFile(QFileInfo(item->realPath())); ++totalFiles; if (item->isConflicted()) { @@ -611,7 +611,7 @@ bool FileTree::showShellMenu(QPoint pos) .arg(QString::fromStdWString(fullPath))); } - itor->second.addFile(QString::fromStdWString(fullPath)); + itor->second.addFile(QFileInfo(QString::fromStdWString(fullPath))); } } } -- cgit v1.3.1