mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-10-20 21:27:57 +00:00
refactor: simplify sources processing
This commit is contained in:
1 parent
0bcceefd47
commit
2b1b099c57
68 files changed
+429
-981
No files matched your search
+1
-1
@@ -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