mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 08:28:22 -04:00
[libcalamares] Fix stringification of broken instance keys
This commit is contained in:
parent
70fc480c56
commit
4970c328fa
1 changed files with 5 additions and 1 deletions
|
@ -89,9 +89,13 @@ public:
|
|||
}
|
||||
|
||||
QString toString() const
|
||||
{
|
||||
if ( isValid() )
|
||||
{
|
||||
return first + '@' + second;
|
||||
}
|
||||
return QString();
|
||||
}
|
||||
|
||||
private:
|
||||
/** @brief Check validity and reset module and id if needed. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue