mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1808 System : Show feature name in about dialog
This commit is contained in:
@@ -63,6 +63,26 @@ void RicHelpAboutFeature::onActionTriggered(bool isChecked)
|
||||
dlg.addVersionEntry(" ", "ResInsight is made available under the GNU General Public License v. 3");
|
||||
dlg.addVersionEntry(" ", "See http://www.gnu.org/licenses/gpl.html");
|
||||
dlg.addVersionEntry(" ", " ");
|
||||
|
||||
QStringList activeFeatures;
|
||||
#ifdef USE_HDF5
|
||||
activeFeatures += " Souring";
|
||||
#endif
|
||||
|
||||
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
|
||||
activeFeatures += " Fractures";
|
||||
#endif
|
||||
|
||||
if (!activeFeatures.isEmpty())
|
||||
{
|
||||
dlg.addVersionEntry(" ", "Features");
|
||||
|
||||
for (auto feature : activeFeatures)
|
||||
{
|
||||
dlg.addVersionEntry(" ", feature);
|
||||
}
|
||||
}
|
||||
|
||||
dlg.addVersionEntry(" ", " ");
|
||||
dlg.addVersionEntry(" ", "Technical Information");
|
||||
dlg.addVersionEntry(" ", QString(" Qt ") + qVersion());
|
||||
|
||||
Reference in New Issue
Block a user