Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
This commit is contained in:
1718 files changed
+126739
-18495
No files matched your search
+1
@@ -20,6 +20,7 @@ SfmMessagesDialog::SfmMessagesDialog(QWidget *parent)
|
||||
, m_dtc(nullptr)
|
||||
, m_ui(new Ui::SfmMessagesDialog)
|
||||
, m_requestHelper(new LtsUtils::RequestHelper(this))
|
||||
, m_logger(getLogger("MessagingDialog"))
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
m_ui->widget->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
|
||||
+4
-4
@@ -72,8 +72,8 @@ void InterfaceImpl::handleNewData(const FreeText &data, DataModification modType
|
||||
{
|
||||
if (modType != DataModification::eAdded || m_unreadCounterIsLocked)
|
||||
return;
|
||||
if (data.timeStamp() < (QDateTime::currentMSecsSinceEpoch() - (60 * 60 * 1000 * 1))
|
||||
|| data.timeStamp() < m_lastClearTime)
|
||||
if (data.timeStamp < (QDateTime::currentMSecsSinceEpoch() - (60 * 60 * 1000 * 1))
|
||||
|| data.timeStamp < m_lastClearTime)
|
||||
return;
|
||||
++m_unread;
|
||||
updateUnreadCount();
|
||||
@@ -83,8 +83,8 @@ void InterfaceImpl::handleNewData(const ShortMessage &data, DataModification mod
|
||||
{
|
||||
if (modType != DataModification::eAdded || m_unreadCounterIsLocked)
|
||||
return;
|
||||
if (data.timeStamp() < (QDateTime::currentMSecsSinceEpoch() - (60 * 60 * 1000 * 1))
|
||||
|| data.timeStamp() < m_lastClearTime)
|
||||
if (data.timeStamp < (QDateTime::currentMSecsSinceEpoch() - (60 * 60 * 1000 * 1))
|
||||
|| data.timeStamp < m_lastClearTime)
|
||||
return;
|
||||
++m_unread;
|
||||
updateUnreadCount();
|
||||
|
||||
+8
-8
@@ -20,6 +20,7 @@ MessagingModel::MessagingModel(QObject *parent)
|
||||
, m_dtc(nullptr)
|
||||
, m_operatorId(0)
|
||||
, m_lastClearTime(0)
|
||||
, m_logger(getLogger("MessagingModel"))
|
||||
{}
|
||||
|
||||
|
||||
@@ -47,15 +48,15 @@ void MessagingModel::insertData(const TrainingAreaBaseOC::FreeText &data, DataMo
|
||||
if (modType == DataModification::eRemoved)
|
||||
return;
|
||||
|
||||
if (dontAdd(data.timeStamp()))
|
||||
if (dontAdd(data.timeStamp))
|
||||
return;
|
||||
|
||||
QString text = QString::fromStdString(data.text().c_str());
|
||||
QString text = QString::fromStdString(data.text.c_str());
|
||||
if (text.size() > 1)
|
||||
text.chop(1);
|
||||
QString msg = tr("Text: %1").arg(text);
|
||||
|
||||
insertRow({QDateTime::fromMSecsSinceEpoch(data.timeStamp()), msg});
|
||||
insertRow({QDateTime::fromMSecsSinceEpoch(data.timeStamp), msg});
|
||||
}
|
||||
|
||||
void MessagingModel::insertData(const TrainingAreaBaseOC::ShortMessage &data, DataModification modType)
|
||||
@@ -63,16 +64,15 @@ void MessagingModel::insertData(const TrainingAreaBaseOC::ShortMessage &data, Da
|
||||
if (modType == DataModification::eRemoved)
|
||||
return;
|
||||
|
||||
if (dontAdd(data.timeStamp()))
|
||||
if (dontAdd(data.timeStamp))
|
||||
return;
|
||||
|
||||
|
||||
|
||||
QString msg = tr("Type: %1 - %2")
|
||||
.arg(textTypeToString(static_cast<TextType>(data.textType())),
|
||||
vbgVbaIndexToText(data.textType(), data.indexVbg()));
|
||||
.arg(textTypeToString(static_cast<TextType>(data.textType)),
|
||||
vbgVbaIndexToText(data.textType, data.indexVbg));
|
||||
|
||||
insertRow({QDateTime::fromMSecsSinceEpoch(data.timeStamp()), msg});
|
||||
insertRow({QDateTime::fromMSecsSinceEpoch(data.timeStamp), msg});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user