summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/fileselector/ofileselector.cpp4
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
@@ -356,5 +356,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
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() ) );
@@ -363,5 +363,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
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() ) );