History

Removed unecessary foreach

Atlante45 committed 11 years ago

Commit 891d8d51 parent ea832cf2 files · +2 −5Browse files

Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all

Unified · Split

interface/src/Application.cpp+2−2
@@ -4008,9 +4008,9 @@ void Application::parseVersionXml() { · 4007 unmodified lines
40084008 QString latestVersion;
40094009 QUrl downloadUrl;
40104010 QString releaseNotes("Unavailable");
4011− QObject* sender = qobject_cast<QNetworkReply*>(QObject::sender());
4011+ QNetworkReply* sender = qobject_cast<QNetworkReply*>(QObject::sender());
40124012
4013− QXmlStreamReader xml(qobject_cast<QNetworkReply*>(sender));
4013+ QXmlStreamReader xml(sender);
40144014
40154015 while (!xml.atEnd() && !xml.hasError()) {
40164016 if (xml.tokenType() == QXmlStreamReader::StartElement && xml.name() == operatingSystem) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t