🏁 Fix winsock and autotype error when compiling on Windows

This commit is contained in:
thez3ro committed 2016-10-24 19:45:35 +02:00
1 parent 7c4129033a
commit 24a17c05ab
4 files changed
+14 -5

No files matched your search

+2 -2
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()));
}
}
}