Fix compatibility with old compilers.

This commit is contained in:
Roman Telezhynskyi 2023-11-17 20:24:48 +02:00
parent 018bacb959
commit 8d600d8ee2

View File

@ -1049,10 +1049,10 @@ auto MApplication::StartWithKnownMeasurementFiles(QCommandLineParser &parser) ->
return std::all_of(args.begin(), args.end(), return std::all_of(args.begin(), args.end(),
[this](const auto &arg) [this](const auto &arg)
{ {
NewMainKMWindow(); this->NewMainKMWindow();
if (not MainKMWindow()->LoadFile(arg)) if (not this->MainKMWindow()->LoadFile(arg))
{ {
delete MainKMWindow(); delete this->MainKMWindow();
return !m_testMode; return !m_testMode;
} }