author | drw <drw> | 2005-04-02 00:04:50 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-02 00:04:50 (UTC) |
commit | b92357d5566b9ee220ff5f4e8eb612b2db32e20b (patch) (unidiff) | |
tree | 26f99f1ca215ac44862145c2ba94f9a0eec0e16f /libopie2 | |
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 | |||
352 | btn->setPixmap( pic ); | 352 | btn->setPixmap( pic ); |
353 | connect(btn, SIGNAL(clicked() ), | 353 | connect(btn, SIGNAL(clicked() ), |
354 | this, SLOT(cdDoc() ) ); | 354 | this, SLOT(cdDoc() ) ); |
355 | 355 | ||
356 | m_btnNew = new QToolButton( box ); | 356 | m_btnNew = new QToolButton( box ); |
357 | pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 357 | pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
358 | btn->setPixmap( pic ); | 358 | m_btnNew->setPixmap( pic ); |
359 | connect(m_btnNew, SIGNAL(clicked() ), | 359 | connect(m_btnNew, SIGNAL(clicked() ), |
360 | this, SLOT(slotNew() ) ); | 360 | this, SLOT(slotNew() ) ); |
361 | 361 | ||
362 | 362 | ||
363 | m_btnClose = new QToolButton( box ); | 363 | m_btnClose = new QToolButton( box ); |
364 | pic.convertFromImage( Resource::loadImage( "close" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 364 | pic.convertFromImage( Resource::loadImage( "close" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
365 | btn->setPixmap( pic ); | 365 | m_btnClose->setPixmap( pic ); |
366 | connect(m_btnClose, SIGNAL(clicked() ), | 366 | connect(m_btnClose, SIGNAL(clicked() ), |
367 | selector(), SIGNAL(closeMe() ) ); | 367 | selector(), SIGNAL(closeMe() ) ); |
368 | 368 | ||
369 | btn = new QToolButton( box ); | 369 | btn = new QToolButton( box ); |
370 | pic.convertFromImage( Resource::loadImage( "cardmon/pcmcia" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 370 | pic.convertFromImage( Resource::loadImage( "cardmon/pcmcia" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
371 | btn->setPixmap( pic ); | 371 | btn->setPixmap( pic ); |