[libcalamares] Fix stringification of broken instance keys

This commit is contained in:
Adriaan de Groot 2019-09-30 17:55:11 +02:00
parent 70fc480c56
commit 4970c328fa

View File

@ -89,9 +89,13 @@ public:
} }
QString toString() const QString toString() const
{
if ( isValid() )
{ {
return first + '@' + second; return first + '@' + second;
} }
return QString();
}
private: private:
/** @brief Check validity and reset module and id if needed. */ /** @brief Check validity and reset module and id if needed. */