mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-30 06:34:13 +02:00
Fix captor operator [=] which needs to be written explciitly [this] in C++20.
This commit is contained in:
@@ -346,7 +346,7 @@ void QETProject::init()
|
||||
{
|
||||
int ms = autosave_interval*60*1000;
|
||||
m_autosave_timer.setInterval(ms);
|
||||
connect(&m_autosave_timer, &QTimer::timeout, this, [=]()
|
||||
connect(&m_autosave_timer, &QTimer::timeout, this, [this]()
|
||||
{
|
||||
if(!this->m_file_path.isEmpty())
|
||||
this->write();
|
||||
|
||||
Reference in New Issue
Block a user