https://bugzilla.novell.com/show_bug.cgi?id=144694
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=144694#c23
--- Comment #23 from Stefan Hundhammer 2008-03-28 04:22:28 MST ---
That's true for all other icons (all icons provided by YCP modules via
Wizard::SetDialogIcon() from Wizard.ycp), but not for this one. As a matter of
fact, no yast2-*.rpm even provides this icon - see comment #20.
sh @ snell] ...trunk/qt/src 8 % grep -i "set.*icon" *.cc
YQApplication.cc: setIconBasePath( ICONDIR "/icons/22x22/apps/" );
YQGenericButton.cc:void YQGenericButton::setIcon( const string & iconName )
YQGenericButton.cc: _qPushButton->setIcon( QIcon() );
YQGenericButton.cc: _qPushButton->setIcon( icon );
YQImage.cc: QLabel::setPixmap( icon.pixmap( pixmap.size(), QIcon::Disabled,
QIcon::Off) );
YQMultiSelectionBox.cc: setIcon( 0 /* column */, icon );
YQSelectionBox.cc: i->setData(Qt::DecorationRole, icon );
YQTable.cc: // Set icon (if specified)
YQTable.cc: setData( column, Qt::DecorationRole, icon );
YQTree.cc: setData( 0, Qt::DecorationRole, icon );
YQWizard.cc: // Set status icon and color for the current step
YQWizard.cc: _dialogIcon->setObjectName( "DialogIcon" );
YQWizard.cc:void YQWizard::setDialogIcon( const string & iconName )
YQWizard.cc: _dialogIcon->setPixmap( icon );
YQWizard.cc: topLevelWidget()->setWindowIcon( icon );
YQWizard.cc: topLevelWidget()->setWindowIcon( QIcon() );
http://svn.opensuse.org/svn/yast/trunk/qt/src/YQWizard.cc
void YQWizard::setDialogIcon( const string & iconName )
{
if ( _dialogIcon )
{
if ( ! iconName.empty() )
{
QPixmap icon( iconName.c_str() );
if ( icon.isNull() )
yuiWarning() << "Couldn't load dialog icon \"" << iconName <<
"\"" << endl;
else
{
_dialogIcon->setPixmap( icon );
topLevelWidget()->setWindowIcon( icon );
}
}
else
{
_dialogIcon->clear();
topLevelWidget()->setWindowIcon( QIcon() );
}
}
}
The (Qt) YaST2 control center doesn't contain setWindowIcon() call:
[sh @ snell] ...trunk/control-center/src 7 % grep setWindowIcon *.cpp
[sh @ snell] ...trunk/control-center/src 8 %
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.