[libcalamares] Fix stringification of broken instance keys
This commit is contained in:
parent
70fc480c56
commit
4970c328fa
@ -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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user