aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/androiddevice.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2022-02-16 14:32:48 +0100
committerEike Ziller <[email protected]>2022-02-23 16:53:00 +0000
commitfff5944e65db76b447ef6d9579f80fa4eb45d63f (patch)
tree4f48119fd4744a7ad7013019843c02ae756c0c02 /src/plugins/android/androiddevice.cpp
parent24274cd90702606583d7ce6275e112a6ffcfb1ae (diff)
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 <[email protected]>
Diffstat (limited to 'src/plugins/android/androiddevice.cpp')
-rw-r--r--src/plugins/android/androiddevice.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/android/androiddevice.cpp b/src/plugins/android/androiddevice.cpp
index 8a795780519..1ede608bdd1 100644
--- a/src/plugins/android/androiddevice.cpp
+++ b/src/plugins/android/androiddevice.cpp
@@ -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