author | drw <drw> | 2005-04-02 00:04:50 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-02 00:04:50 (UTC) |
commit | b92357d5566b9ee220ff5f4e8eb612b2db32e20b (patch) (side-by-side diff) | |
tree | 26f99f1ca215ac44862145c2ba94f9a0eec0e16f | |
parent | 8a1c307f9dfc26a31d42f29f29a5b1c048b99102 (diff) | |
download | opie-b92357d5566b9ee220ff5f4e8eb612b2db32e20b.zip opie-b92357d5566b9ee220ff5f4e8eb612b2db32e20b.tar.gz opie-b92357d5566b9ee220ff5f4e8eb612b2db32e20b.tar.bz2 |
Set pixmaps for correct buttons - thanks Mickey for finding
-rw-r--r-- | libopie2/opieui/fileselector/ofileselector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/opieui/fileselector/ofileselector.cpp b/libopie2/opieui/fileselector/ofileselector.cpp index 2746732..069b625 100644 --- a/libopie2/opieui/fileselector/ofileselector.cpp +++ b/libopie2/opieui/fileselector/ofileselector.cpp @@ -352,20 +352,20 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st btn->setPixmap( pic ); connect(btn, SIGNAL(clicked() ), this, SLOT(cdDoc() ) ); m_btnNew = new QToolButton( box ); pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); - btn->setPixmap( pic ); + m_btnNew->setPixmap( pic ); connect(m_btnNew, SIGNAL(clicked() ), this, SLOT(slotNew() ) ); m_btnClose = new QToolButton( box ); pic.convertFromImage( Resource::loadImage( "close" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); - btn->setPixmap( pic ); + m_btnClose->setPixmap( pic ); connect(m_btnClose, SIGNAL(clicked() ), selector(), SIGNAL(closeMe() ) ); btn = new QToolButton( box ); pic.convertFromImage( Resource::loadImage( "cardmon/pcmcia" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); btn->setPixmap( pic ); |