Revert "Optimize QString->QStringLiteral."
This reverts commit df33b21b0d
.
This commit is contained in:
parent
df33b21b0d
commit
dff128264c
|
@ -314,7 +314,7 @@ bool luks::cryptClose(const QString& deviceNode)
|
|||
m_innerFs = nullptr;
|
||||
|
||||
m_passphrase.clear();
|
||||
setLabel(QStringLiteral());
|
||||
setLabel({});
|
||||
|
||||
m_isCryptOpen = (m_innerFs != nullptr);
|
||||
|
||||
|
@ -519,7 +519,7 @@ QString luks::mapperName(const QString& deviceNode)
|
|||
if (rxDeviceName.indexIn(cmd.output()) > -1)
|
||||
return rxDeviceName.cap(1);
|
||||
}
|
||||
return QStringLiteral();
|
||||
return QString();
|
||||
}
|
||||
|
||||
QString luks::getCipherName(const QString& deviceNode)
|
||||
|
|
Loading…
Reference in New Issue