Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -1,4 +1,5 @@
|
||||
#include "lts_app_manager.h"
|
||||
#include <utility>
|
||||
#include "AppChooser/app_chooser.h"
|
||||
|
||||
#include <LtsPluginManager/lts_plugin_manager.h>
|
||||
@@ -880,7 +881,7 @@ bool LtsAppManager::hasApp(LtsAppDescriptor::App appId) const
|
||||
int LtsAppManager::getNumberOfSituationMapInstances() const
|
||||
{
|
||||
int numberOfSituationMapInstances = 0;
|
||||
for (const LtsPluginManager::LtsPluginManager *app : qAsConst(m_appList))
|
||||
for (const LtsPluginManager::LtsPluginManager *app : std::as_const(m_appList))
|
||||
{
|
||||
if (!app)
|
||||
continue;
|
||||
@@ -931,7 +932,7 @@ void LtsAppManager::saveState()
|
||||
|
||||
|
||||
QJsonArray root;
|
||||
for (const LtsPluginManager::LtsPluginManager *app : qAsConst(m_appList))
|
||||
for (const LtsPluginManager::LtsPluginManager *app : std::as_const(m_appList))
|
||||
{
|
||||
const QVector<LtsSession::LtsSession *> sessions = app->sessions();
|
||||
|
||||
@@ -1000,7 +1001,7 @@ void LtsAppManager::saveState()
|
||||
|
||||
void LtsAppManager::slotLogout()
|
||||
{
|
||||
for (LtsPluginManager::LtsPluginManager *app : qAsConst(m_appList))
|
||||
for (LtsPluginManager::LtsPluginManager *app : std::as_const(m_appList))
|
||||
{
|
||||
const QVector<LtsSession::LtsSession *> sessions = app->sessions();
|
||||
for (LtsSession::LtsSession *session : sessions)
|
||||
@@ -1118,7 +1119,7 @@ bool LtsAppManager::otherSessionsResponsibility(LtsSession::LtsSession *thisSess
|
||||
|
||||
|
||||
|
||||
for (const LtsPluginManager::LtsPluginManager *app : qAsConst(worthyApps))
|
||||
for (const LtsPluginManager::LtsPluginManager *app : std::as_const(worthyApps))
|
||||
{
|
||||
const QVector<LtsSession::LtsSession *> sessions = app->sessions();
|
||||
for (const LtsSession::LtsSession *session : sessions)
|
||||
@@ -1133,7 +1134,7 @@ bool LtsAppManager::otherSessionsResponsibility(LtsSession::LtsSession *thisSess
|
||||
LtsMultiMonitor::LtsMultiMonitor *mm = LtsMultiMonitor::LtsMultiMonitor::getInstance();
|
||||
LtsMultiMonitor::LtsScreenBase *mainScreen = mm->mainScreen();
|
||||
|
||||
for (const LtsPluginManager::LtsPluginManager *app : qAsConst(worthyApps))
|
||||
for (const LtsPluginManager::LtsPluginManager *app : std::as_const(worthyApps))
|
||||
{
|
||||
const QVector<LtsSession::LtsSession *> sessions = app->sessions();
|
||||
for (LtsSession::LtsSession *session : sessions)
|
||||
|
||||
Reference in new issue
Block a user