Commit e5062669 authored by Susurrus's avatar Susurrus

Forgot to give the new variable a datatype

Should fix things.
parent 18b27da8
......@@ -1347,7 +1347,7 @@ void MainWindow::restoreLastUsedConnection()
QString key(MAIN_SETTINGS_GROUP);
key += "/LAST_CONNECTION";
if(settings.contains(key)) {
connection = settings.value(key).toString();
QString connection = settings.value(key).toString();
// Create a link for it
LinkInterface* link = LinkManager::instance()->createLink(connection);
if(link) {
......
Markdown is supported
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