Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "lts_tool_bar_area.h"
|
||||
#include <utility>
|
||||
#include "ui_lts_tool_bar_area.h"
|
||||
#include "lts_drag_icon.h"
|
||||
|
||||
@@ -259,7 +260,7 @@ bool LtsToolBarArea::setFunctionKey(int fkey, const QString &action)
|
||||
|
||||
|
||||
LtsDragIcon *icon = nullptr;
|
||||
for (LtsDragIcon *ic : qAsConst(m_buttonMap))
|
||||
for (LtsDragIcon *ic : std::as_const(m_buttonMap))
|
||||
{
|
||||
if (ic->identifier() == action)
|
||||
{
|
||||
@@ -275,7 +276,7 @@ bool LtsToolBarArea::setFunctionKey(int fkey, const QString &action)
|
||||
ShortCut &shorty = m_functionKeys[fkey];
|
||||
|
||||
|
||||
for (LtsDragIcon *ic : qAsConst(m_buttonMap))
|
||||
for (LtsDragIcon *ic : std::as_const(m_buttonMap))
|
||||
if (ic->identifier() == shorty.identifier)
|
||||
ic->removeModification();
|
||||
|
||||
@@ -322,7 +323,7 @@ void LtsToolBarArea::removeMenuAction(LtsDragIcon *icon)
|
||||
if (itShortcut.identifier == icon->identifier())
|
||||
itShortcut.clear();
|
||||
}
|
||||
for (LtsDragIcon *ic : qAsConst(m_foreignButtonMap))
|
||||
for (LtsDragIcon *ic : std::as_const(m_foreignButtonMap))
|
||||
{
|
||||
if(ic->identifier() == icon->identifier())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user