mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Windows: restored online API documentation
This commit is contained in:
parent
de7e61e364
commit
67be5a86d9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user