Skip to content
Snippets Groups Projects
Commit 56334378 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

fixed error in message box

parent 64e7eea5
Branches master
Tags 1.0.2
No related merge requests found
......@@ -74,7 +74,7 @@ void Interlock::setupDb()
db.setUserName("firo");
db.setPassword("firo_password");
if (!db.open())
QMessageBox::critical(0, "Error", "Can't establish connection with db intlkboost on host log");
QMessageBox::critical(0, "Error", QString("Can't establish connection with db \"%1\" on host \"%2\"").arg(db.databaseName()).arg(db.hostName()));
queryType = QueryConfiguration::LastDay;
modulatorModel = new MySqlModel();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment