Skip to content

Commit 51eb7c7

Browse files
David Gossowhershwg
David Gossow
authored andcommitted
more icon candy
1 parent 4e7c0b5 commit 51eb7c7

File tree

4 files changed

+7
-27
lines changed

4 files changed

+7
-27
lines changed

icons/classes/Group.png

359 Bytes
Loading

icons/default_package_icon.png

49 Bytes
Loading

icons/zoom.svg

+6-17
Loading

src/rviz/new_object_dialog.cpp

+1-10
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,7 @@ void NewObjectDialog::fillTree( QTreeWidget* tree )
153153
{
154154
package_item = new QTreeWidgetItem( tree );
155155
package_item->setText( 0, package );
156-
157-
QIcon icon = loadPixmap( "package://"+package+"/icons/package.png" );
158-
if ( icon.isNull() )
159-
{
160-
package_item->setIcon( 0, default_package_icon );
161-
}
162-
else
163-
{
164-
package_item->setIcon( 0, icon );
165-
}
156+
package_item->setIcon( 0, default_package_icon );
166157

167158
package_item->setExpanded( true );
168159
package_items[ package ] = package_item;

0 commit comments

Comments
 (0)