Fix captor operator [=] which needs to be written explciitly [this] in C++20.

This commit is contained in:
Andre Rummler
2026-09-28 23:01:42 +02:00
parent 7facb1cbf8
commit 574d6dcd56
8 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -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();