ms->loginSession(sc.currentUsername(), sc.currentSessionId());
ms->initialize();
MAclWindow::showWindow(nullptr);
+ QObject::connect(&sc,SIGNAL(sessionIdChanged(QString)),ms,SLOT(setSessionId(QString)));
}else{
qDebug()<<"Unable to get session. Giving up.";
return 1;
ms->initialize();
MOverview *mo=new MOverview(sc.currentProfileId());
mo->showRestored();
+ QObject::connect(&sc,SIGNAL(sessionIdChanged(QString)),ms,SLOT(setSessionId(QString)));
}else{
qDebug()<<"Unable to get session. Giving up.";
return 1;