fixed compilation due to get_version not found in restbed

This commit is contained in:
csoler 2019-12-01 16:59:17 +01:00
parent 694e05d4b9
commit f5d32a8a9c
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -973,11 +973,12 @@ void AboutWidget::on_copy_button_clicked()
verInfo+=addLibraries("libretroshare", libraries); verInfo+=addLibraries("libretroshare", libraries);
#ifdef RS_JSONAPI #ifdef RS_JSONAPI
/* Add version numbers of RetroShare */ // Disabled because I could not find how to get restbed version number
// Add versions here. Find a better place. // /* Add version numbers of RetroShare */
libraries.clear(); // // Add versions here. Find a better place.
libraries.push_back(RsLibraryInfo("RestBed", restbed::get_version())); // libraries.clear();
verInfo+=addLibraries("RetroShare", libraries); // libraries.push_back(RsLibraryInfo("RestBed", restbed::get_version()));
// verInfo+=addLibraries("RetroShare", libraries);
#endif #endif
/* Add version numbers of plugins */ /* Add version numbers of plugins */