mirror of
				https://github.com/arcan1s/awesome-widgets.git
				synced 2025-11-04 06:43:41 +00:00 
			
		
		
		
	refactor: simplify sources processing
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