-rw-r--r-- | libopie2/opieui/fileselector/ofileselector.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libopie2/opieui/fileselector/ofileselector.cpp b/libopie2/opieui/fileselector/ofileselector.cpp index f3e7501..a30bd8b 100644 --- a/libopie2/opieui/fileselector/ofileselector.cpp +++ b/libopie2/opieui/fileselector/ofileselector.cpp | |||
@@ -321,4 +321,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st | |||
321 | QVBoxLayout* lay = new QVBoxLayout( this ); | 321 | QVBoxLayout* lay = new QVBoxLayout( this ); |
322 | m_currentDir = startDir; | 322 | m_currentDir = startDir; |
323 | bool bigicons = qApp->desktop()->size().width()>330; | ||
323 | 324 | ||
324 | /* | 325 | /* |
@@ -337,5 +338,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st | |||
337 | 338 | ||
338 | QToolButton *btn = new QToolButton( box ); | 339 | QToolButton *btn = new QToolButton( box ); |
339 | btn->setUsesBigPixmap( true ); | 340 | btn->setUsesBigPixmap(bigicons); |
340 | btn->setPixmap( Opie::Core::OResource::loadPixmap( "up", Opie::Core::OResource::SmallIcon ) ); | 341 | btn->setPixmap( Opie::Core::OResource::loadPixmap( "up", Opie::Core::OResource::SmallIcon ) ); |
341 | connect(btn, SIGNAL(clicked() ), | 342 | connect(btn, SIGNAL(clicked() ), |
@@ -343,5 +344,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st | |||
343 | 344 | ||
344 | btn = new QToolButton( box ); | 345 | btn = new QToolButton( box ); |
345 | btn->setUsesBigPixmap( true ); | 346 | btn->setUsesBigPixmap(bigicons); |
346 | btn->setPixmap( Opie::Core::OResource::loadPixmap( "home", Opie::Core::OResource::SmallIcon ) ); | 347 | btn->setPixmap( Opie::Core::OResource::loadPixmap( "home", Opie::Core::OResource::SmallIcon ) ); |
347 | connect(btn, SIGNAL(clicked() ), | 348 | connect(btn, SIGNAL(clicked() ), |
@@ -349,5 +350,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st | |||
349 | 350 | ||
350 | btn = new QToolButton( box ); | 351 | btn = new QToolButton( box ); |
351 | btn->setUsesBigPixmap( true ); | 352 | btn->setUsesBigPixmap(bigicons); |
352 | btn->setPixmap( Opie::Core::OResource::loadPixmap( "DocsIcon", Opie::Core::OResource::SmallIcon ) ); | 353 | btn->setPixmap( Opie::Core::OResource::loadPixmap( "DocsIcon", Opie::Core::OResource::SmallIcon ) ); |
353 | connect(btn, SIGNAL(clicked() ), | 354 | connect(btn, SIGNAL(clicked() ), |
@@ -355,5 +356,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st | |||
355 | 356 | ||
356 | m_btnNew = new QToolButton( box ); | 357 | m_btnNew = new QToolButton( box ); |
357 | m_btnNew->setUsesBigPixmap( true ); | 358 | m_btnNew->setUsesBigPixmap(bigicons); |
358 | m_btnNew->setPixmap( Opie::Core::OResource::loadPixmap( "new", Opie::Core::OResource::SmallIcon ) ); | 359 | m_btnNew->setPixmap( Opie::Core::OResource::loadPixmap( "new", Opie::Core::OResource::SmallIcon ) ); |
359 | connect(m_btnNew, SIGNAL(clicked() ), | 360 | connect(m_btnNew, SIGNAL(clicked() ), |
@@ -362,5 +363,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st | |||
362 | 363 | ||
363 | m_btnClose = new QToolButton( box ); | 364 | m_btnClose = new QToolButton( box ); |
364 | m_btnClose->setUsesBigPixmap( true ); | 365 | m_btnClose->setUsesBigPixmap(bigicons); |
365 | m_btnClose->setPixmap( Opie::Core::OResource::loadPixmap( "close", Opie::Core::OResource::SmallIcon ) ); | 366 | m_btnClose->setPixmap( Opie::Core::OResource::loadPixmap( "close", Opie::Core::OResource::SmallIcon ) ); |
366 | connect(m_btnClose, SIGNAL(clicked() ), | 367 | connect(m_btnClose, SIGNAL(clicked() ), |
@@ -368,5 +369,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st | |||
368 | 369 | ||
369 | btn = new QToolButton( box ); | 370 | btn = new QToolButton( box ); |
370 | btn->setUsesBigPixmap( true ); | 371 | btn->setUsesBigPixmap(bigicons); |
371 | btn->setPixmap( Opie::Core::OResource::loadPixmap( "cardmon/pcmcia", Opie::Core::OResource::SmallIcon ) ); | 372 | btn->setPixmap( Opie::Core::OResource::loadPixmap( "cardmon/pcmcia", Opie::Core::OResource::SmallIcon ) ); |
372 | 373 | ||