fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+1
-1
@@ -159,7 +159,7 @@ QString SidcBuilderBase::concreteSidcToBaseSymbolCode(const QString &sidcCodec)
|
||||
case SymbologyType::APP6D : // it's same as MIL2525D
|
||||
case SymbologyType::MIL2525D :
|
||||
{
|
||||
if (rawSidc.count() != 20)
|
||||
if (rawSidc.size() != 20)
|
||||
return QString();
|
||||
|
||||
QString baseSymbolCode(
|
||||
|
||||
@@ -196,7 +196,7 @@ void SymbolResultWatcherComboxBox::onResultReady()
|
||||
return; // should NEVER happen! (Which object should have triggered the signal???)
|
||||
|
||||
int idx = m_comboBox->findData(QVariant::fromValue(this), m_role);
|
||||
const QImage &img = symResult->symbolImage().image();
|
||||
const QImage img = symResult->symbolImage().image();
|
||||
|
||||
m_comboBox->setItemIcon(idx, QPixmap::fromImage(img));
|
||||
|
||||
|
||||
Reference in new issue
Block a user