Fix lupdate issues

When updating translations with
cmake --build . --target ts_de
(or other language ID)

- Qualifying with unknown namespace/class ::PluginSpecPrivate
- <class> lacks Q_OBJECT macro

Change-Id: Ic42d8dffea935e6b10e59223bdedb9a8a4dcf446
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2022-02-16 14:32:48 +01:00
parent 24274cd907
commit fff5944e65
6 changed files with 74 additions and 34 deletions

View File

@@ -639,7 +639,8 @@ void AndroidDeviceManager::HandleAvdsListChange()
// of the device has changed, remove it and register it again with the new name.
// Also account for the case of an AVD registered through old QC which might have
// invalid data by checking the sdcard size value.
if (dev->displayName() != displayName || androidDev->sdcardSize() == tr("Unknown")) {
if (dev->displayName() != displayName
|| androidDev->sdcardSize() == AndroidDevice::tr("Unknown")) {
devMgr->removeDevice(dev->id());
} else {
// Find the state of the AVD retrieved from the AVD watcher