THe QueryTool now reconnects when the connection is lost.

This commit is contained in:
eelke 2020-04-04 07:49:44 +02:00
parent b87f587a40
commit adb44fc157
2 changed files with 5 additions and 0 deletions

View file

@ -307,6 +307,9 @@ void QueryTool::connectionStateChanged(ASyncDBConnection::State state)
QString iconname;
switch (state) {
case ASyncDBConnection::State::NotConnected:
startConnect();
iconname = "red.png";
break;
case ASyncDBConnection::State::Connecting:
iconname = "red.png";
break;