🐞 fix(_blank): invalid use of non-static member function ‘void QTimer::timeout(QPrivateSignal)

This commit is contained in:
Eshan Roy
2024-11-20 11:07:40 +05:30
parent c921a19cbe
commit 7a539116ae

View File

@@ -38,7 +38,7 @@ void SnigdhaOSBlackBox::doInternetUpRequest(){
timer->start(5000); //5 sec timer->start(5000); //5 sec
// if the time is out we will try again // if the time is out we will try again
connect(timer, QTimer::timeout, this, [this, timer, network_reply, network_manager](){ connect(timer, &QTimer::timeout, this, [this, timer, network_reply, network_manager](){
timer->stop(); timer->stop();
timer->deleteLayer(); timer->deleteLayer();
network_reply->deleteLater(); network_reply->deleteLater();