Commit b4586869 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added Resource list to about dialog

parent d53ba404
......@@ -744,6 +744,30 @@ void CoreWidget::showAboutWidget( ) {
aboutWidget_->OpenFlipperAbout->append( "\t\t Save: " + supportedTypes()[i].saveFilters );
}
// =====================================================================================
// List of build-in resources
// =====================================================================================
aboutWidget_->OpenFlipperAbout->append("\n");
QDir toplevelResources(":/");
for ( auto str : toplevelResources.entryList() ) {
aboutWidget_->OpenFlipperAbout->append(" Namespace : " + str);
QDir firstLevel(":/" + str);
for ( auto firstLevelStr : firstLevel.entryList() ) {
aboutWidget_->OpenFlipperAbout->append(" \t" + firstLevelStr);
QDir secondLevel(":/" + str + "/" + firstLevelStr);
for ( auto secondLevelStr : secondLevel.entryList() ) {
aboutWidget_->OpenFlipperAbout->append(" \t\t" + secondLevelStr);
}
}
aboutWidget_->OpenFlipperAbout->append("\n");
}
aboutWidget_->show();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment