mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-08 03:15:51 +00:00
refactor: simplify sources processing
Also fix desktop source
This commit is contained in:
@ -12,7 +12,7 @@ QReplyTimeout::QReplyTimeout(QNetworkReply *reply, const int timeout)
|
||||
|
||||
void QReplyTimeout::timeout()
|
||||
{
|
||||
auto *reply = dynamic_cast<QNetworkReply *>(parent());
|
||||
auto reply = dynamic_cast<QNetworkReply *>(parent());
|
||||
if (reply->isRunning())
|
||||
reply->close();
|
||||
}
|
||||
|
Reference in New Issue
Block a user