Set object names

This commit is contained in:
Jonas Kvinge
2024-09-02 22:26:36 +02:00
parent f265c055a5
commit 2a9ccd7480
20 changed files with 54 additions and 4 deletions

View File

@@ -49,7 +49,11 @@
# endif // _MSC_VER
#endif // Q_OS_WIN32
DeviceFinders::DeviceFinders(QObject *parent) : QObject(parent) {}
DeviceFinders::DeviceFinders(QObject *parent) : QObject(parent) {
setObjectName(QLatin1String(metaObject()->className()));
}
DeviceFinders::~DeviceFinders() {
qDeleteAll(device_finders_);