From 274ebac7ef4cf143f571e9ed6a89c34ac0e96d30 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Sat, 16 Mar 2024 17:43:38 +0100 Subject: [PATCH] qt.cfg: Added support for QRectF (#6136) --- cfg/qt.cfg | 13 +++++++------ test/cfg/qt.cpp | 5 +++++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/cfg/qt.cfg b/cfg/qt.cfg index ad7193d04cf..4f0cf612615 100644 --- a/cfg/qt.cfg +++ b/cfg/qt.cfg @@ -383,7 +383,7 @@ false - + @@ -5186,13 +5186,14 @@ QApplication - QMutexLocker + QMutexLocker + QRectF - QMutex - QRecursiveMutex - QSemaphore - QReadWriteLock + QMutex + QRecursiveMutex + QSemaphore + QReadWriteLock diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp index 5289fad0c7f..346dc03716a 100644 --- a/test/cfg/qt.cpp +++ b/test/cfg/qt.cpp @@ -20,7 +20,12 @@ #include #include #include +#include +void unreadVariable_QRectF() { + // cppcheck-suppress unreadVariable + QRectF rect(0.0, 0.0, 100.0, 50.0); +} void QString1(QString s) {