Fix compatibility with old compilers.
This commit is contained in:
parent
018bacb959
commit
8d600d8ee2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user