summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/gui/manualwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/gui/manualwidget.cpp')
-rw-r--r--rbutil/rbutilqt/gui/manualwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/gui/manualwidget.cpp b/rbutil/rbutilqt/gui/manualwidget.cpp
index ba8f6f6064..c10288df10 100644
--- a/rbutil/rbutilqt/gui/manualwidget.cpp
+++ b/rbutil/rbutilqt/gui/manualwidget.cpp
@@ -42,9 +42,9 @@ void ManualWidget::updateManual()
42 if(!m_platform.isEmpty()) 42 if(!m_platform.isEmpty())
43 { 43 {
44 ui.labelPdfManual->setText(tr("<a href='%1'>PDF Manual</a>") 44 ui.labelPdfManual->setText(tr("<a href='%1'>PDF Manual</a>")
45 .arg(ServerInfo::platformValue(ServerInfo::ManualPdfUrl, m_platform).toString())); 45 .arg(ServerInfo::instance()->platformValue(ServerInfo::ManualPdfUrl, m_platform).toString()));
46 ui.labelHtmlManual->setText(tr("<a href='%1'>HTML Manual (opens in browser)</a>") 46 ui.labelHtmlManual->setText(tr("<a href='%1'>HTML Manual (opens in browser)</a>")
47 .arg(ServerInfo::platformValue(ServerInfo::ManualHtmlUrl, m_platform).toString())); 47 .arg(ServerInfo::instance()->platformValue(ServerInfo::ManualHtmlUrl, m_platform).toString()));
48 } 48 }
49 else { 49 else {
50 ui.labelPdfManual->setText(tr("Select a device for a link to the correct manual")); 50 ui.labelPdfManual->setText(tr("Select a device for a link to the correct manual"));
@@ -65,7 +65,7 @@ void ManualWidget::downloadManual(void)
65 QMessageBox::Yes | QMessageBox::No) != QMessageBox::Yes) { 65 QMessageBox::Yes | QMessageBox::No) != QMessageBox::Yes) {
66 return; 66 return;
67 } 67 }
68 QString manual = ServerInfo::platformValue(ServerInfo::ManualPdfUrl).toString(); 68 QString manual = ServerInfo::instance()->platformValue(ServerInfo::ManualPdfUrl).toString();
69 69
70 ProgressLoggerGui* logger = new ProgressLoggerGui(this); 70 ProgressLoggerGui* logger = new ProgressLoggerGui(this);
71 logger->show(); 71 logger->show();
@@ -75,12 +75,12 @@ void ManualWidget::downloadManual(void)
75 installer->setCache(true); 75 installer->setCache(true);
76 76
77 if(ui.radioPdf->isChecked()) { 77 if(ui.radioPdf->isChecked()) {
78 installer->setUrl(ServerInfo::platformValue( 78 installer->setUrl(ServerInfo::instance()->platformValue(
79 ServerInfo::ManualPdfUrl, m_platform).toString()); 79 ServerInfo::ManualPdfUrl, m_platform).toString());
80 installer->setLogSection("Manual (PDF)"); 80 installer->setLogSection("Manual (PDF)");
81 } 81 }
82 else { 82 else {
83 installer->setUrl(ServerInfo::platformValue( 83 installer->setUrl(ServerInfo::instance()->platformValue(
84 ServerInfo::ManualZipUrl, m_platform).toString()); 84 ServerInfo::ManualZipUrl, m_platform).toString());
85 installer->setLogSection("Manual (HTML)"); 85 installer->setLogSection("Manual (HTML)");
86 } 86 }