History

PR Fixes

Leonardo Murillo committed 12 years ago

Commit b972d421 parent a9c29403 files · +14 −21Browse files

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

Unified · Split

interface/src/Application.cpp+4−3
@@ -203,7 +203,7 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 202 unmodified lines
203203 setOrganizationName(applicationInfo.value("organizationName").toString());
204204 setOrganizationDomain(applicationInfo.value("organizationDomain").toString());
205205
206− qDebug("[VERSION] Build sequence: %s\n", applicationVersion().toStdString().c_str());
206+ qDebug() << "[VERSION] Build sequence: " << qPrintable(applicationVersion());
207207
208208 _settings = new QSettings(this);
209209
@@ -4426,6 +4426,7 @@ void Application::parseVersionXml() { · 4216 unmodified lines
44264426 QString releaseDate;
44274427 QString releaseNotes;
44284428 QString latestVersion;
4429+ QUrl downloadUrl;
44294430
44304431 QXmlStreamReader xml(_latestVersionReply);
44314432 while (!xml.atEnd() && !xml.hasError()) {
@@ -4446,13 +4447,13 @@ void Application::parseVersionXml() { · 14 unmodified lines
44464447 }
44474448 if (xml.name() == operatingSystem) {
44484449 xml.readNext();
4449− _downloadUrl = QUrl(xml.text().toString());
4450+ downloadUrl = QUrl(xml.text().toString());
44504451 }
44514452 }
44524453 }
44534454
44544455 if (!shouldSkipVersion(latestVersion) && applicationVersion() != latestVersion) {
4455− new UpdateDialog(_glWidget, releaseNotes, latestVersion, _downloadUrl);
4456+ new UpdateDialog(_glWidget, releaseNotes, latestVersion, downloadUrl);
44564457 }
44574458
44584459 delete _latestVersionReply;

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