Merge pull request #2 from RetroShare/master

fixed compilation due to get_version not found in restbed
This commit is contained in:
felisucoibi 2019-12-01 19:56:24 +01:00 committed by GitHub
commit c3437da7b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 */