author | drw <drw> | 2005-05-25 18:59:20 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-25 18:59:20 (UTC) |
commit | 5fdc5b4cba7743947a23840ba09fadcc7414309b (patch) (side-by-side diff) | |
tree | 5f5b7959e39b3ebc63d108f40dd8b628a04f5de5 | |
parent | 3a7dd5b0904cdea71d486ffdea8bfd1aedb0af59 (diff) | |
download | opie-5fdc5b4cba7743947a23840ba09fadcc7414309b.zip opie-5fdc5b4cba7743947a23840ba09fadcc7414309b.tar.gz opie-5fdc5b4cba7743947a23840ba09fadcc7414309b.tar.bz2 |
Use loadPixmap to fix compile error
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidgetgui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp b/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp index 589c11f..49f1786 100644 --- a/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp @@ -55,25 +55,25 @@ PlayListWidgetGui::PlayListWidgetGui(QWidget* parent, const char* name ) // Create Toolbar QToolBar *toolbar = new QToolBar( this ); toolbar->setHorizontalStretchable( TRUE ); // Create Menubar QMenuBar *menu = new QMenuBar( toolbar ); menu->setMargin( 0 ); bar = new QToolBar( this ); bar->setLabel( tr( "Play Operations" ) ); - tbDeletePlaylist = new QPushButton( Opie::Core::OResource::loadIconSet( "trash", Opie::Core::OResource::SmallIcon ), + tbDeletePlaylist = new QPushButton( Opie::Core::OResource::loadPixmap( "trash", Opie::Core::OResource::SmallIcon ), "", bar, "close" ); tbDeletePlaylist->setFlat( TRUE ); tbDeletePlaylist->setFixedSize( 20, 20 ); tbDeletePlaylist->hide(); pmPlayList = new QPopupMenu( this ); menu->insertItem( tr( "File" ), pmPlayList ); pmView = new QPopupMenu( this ); menu->insertItem( tr( "View" ), pmView ); pmView->isCheckable(); |