X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetSwitch.cpp;h=00ea700462e9aacd0a5f24d75d85b38e3fc35ffc;hb=061a63480f6840b6d945f7744b3b972e2d4cb25d;hp=31deb0e986bdc96d06893fa2c4cca5908456ac79;hpb=04a8a265b25901dd54e34d449f8d0c64304f1e69;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetSwitch.cpp b/src/ModuleBase/ModuleBase_WidgetSwitch.cpp index 31deb0e98..00ea70046 100644 --- a/src/ModuleBase/ModuleBase_WidgetSwitch.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSwitch.cpp @@ -42,9 +42,10 @@ ModuleBase_WidgetSwitch::~ModuleBase_WidgetSwitch() int ModuleBase_WidgetSwitch::addPage(ModuleBase_PageBase* thePage, const QString& theName, - const QString& theCaseId) + const QString& theCaseId, + const QPixmap& theIcon ) { - int aSuperCount = ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId); + int aSuperCount = ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon); myCombo->addItem(theName); int aResultCount = myCombo->count(); if (aResultCount == 2)