🏁 Fix winsock and autotype error when compiling on Windows

This commit is contained in:
thez3ro 2016-10-24 19:45:35 +02:00
parent 7c4129033a
commit 24a17c05ab
No known key found for this signature in database
GPG key ID: F628F9E41DD7C073
4 changed files with 14 additions and 5 deletions

View file

@ -717,8 +717,8 @@ void MainWindow::repairDatabase()
KeePass2Writer writer;
writer.writeDatabase(saveFileName, dbRepairWidget->database());
if (writer.hasError()) {
MessageBox::critical(this, tr("Error"), tr("Writing the database failed.") + "\n\n"
+ writer.errorString());
QMessageBox::critical(this, tr("Error"),
tr("Writing the database failed.").append("\n\n").append(writer.errorString()));
}
}
}