mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-24 15:25:31 -04:00
Fix weird base strings and reduce concatenation
This commit is contained in:
parent
e718e9f5e5
commit
3def6a3bc4
13 changed files with 26 additions and 25 deletions
|
@ -214,7 +214,7 @@ QSharedPointer<CompositeKey> DatabaseOpenWidget::databaseKey()
|
|||
QString keyFilename = m_ui->comboKeyFile->currentText();
|
||||
QString errorMsg;
|
||||
if (!key.load(keyFilename, &errorMsg)) {
|
||||
m_ui->messageWidget->showMessage(tr("Can't open key file").append(":\n").append(errorMsg),
|
||||
m_ui->messageWidget->showMessage(tr("Can't open key file:\n%1").arg(errorMsg),
|
||||
MessageWidget::Error);
|
||||
return QSharedPointer<CompositeKey>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue