From d680fe607fe19fa75a092b7dffbd76447814eaf9 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 11 Jul 2023 08:33:19 +0200 Subject: [PATCH] Normalize signal/slot signatures [2/2]: QPair This is the result of running util/normalize. In this second patch, the tool replaces QPair with std::pair. This is a bit surprising, and suggests we should replace all QPair with std::pair in our headers soon. Change-Id: Iea0a2fb460a5da66fb534b3787c97d8300a04ca9 Reviewed-by: Thiago Macieira Reviewed-by: Fabian Kosmale (cherry picked from commit aa48e212d7920d3c675ca5ad6d1675b4f24fa1da) Reviewed-by: Qt Cherry-pick Bot --- src/gui/itemmodels/qfilesystemmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/itemmodels/qfilesystemmodel.cpp b/src/gui/itemmodels/qfilesystemmodel.cpp index 31480bb52d4..3c52f27f730 100644 --- a/src/gui/itemmodels/qfilesystemmodel.cpp +++ b/src/gui/itemmodels/qfilesystemmodel.cpp @@ -2085,8 +2085,8 @@ void QFileSystemModelPrivate::init() #if QT_CONFIG(filesystemwatcher) q->connect(&fileInfoGatherer, SIGNAL(newListOfFiles(QString,QStringList)), q, SLOT(_q_directoryChanged(QString,QStringList))); - q->connect(&fileInfoGatherer, SIGNAL(updates(QString, QList>)), q, - SLOT(_q_fileSystemChanged(QString, QList>))); + q->connect(&fileInfoGatherer, SIGNAL(updates(QString,QList>)), q, + SLOT(_q_fileSystemChanged(QString,QList>))); q->connect(&fileInfoGatherer, SIGNAL(nameResolved(QString,QString)), q, SLOT(_q_resolvedName(QString,QString))); q->connect(&fileInfoGatherer, SIGNAL(directoryLoaded(QString)),