Windows: restored online API documentation

pull/361/head
f4exb 2019-06-02 20:34:49 +02:00
rodzic de7e61e364
commit 67be5a86d9
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -216,6 +216,14 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
QString applicationDirPath = qApp->applicationDirPath();
#ifdef _MSC_VER
if (QResource::registerResource(applicationDirPath + "/sdrbase.rcc")) {
qDebug("MainWindow::MainWindow: registered resource file %s/%s", qPrintable(applicationDirPath), "sdrbase.rcc");
} else {
qWarning("MainWindow::MainWindow: could not register resource file %s/%s", qPrintable(applicationDirPath), "sdrbase.rcc");
}
#endif
m_apiAdapter = new WebAPIAdapterGUI(*this);
m_requestMapper = new WebAPIRequestMapper(this);
m_requestMapper->setAdapter(m_apiAdapter);