author | zautrix <zautrix> | 2005-03-29 17:05:50 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-29 17:05:50 (UTC) |
commit | a7c827aa0e555206b60dec3bc07f7afab4352883 (patch) (side-by-side diff) | |
tree | 56dbda15314f27ffabd143d09ea036b092444198 /korganizer/mainwindow.cpp | |
parent | 3116f249fc6ccd0e067213e826d3d924f6986972 (diff) | |
download | kdepimpi-a7c827aa0e555206b60dec3bc07f7afab4352883.zip kdepimpi-a7c827aa0e555206b60dec3bc07f7afab4352883.tar.gz kdepimpi-a7c827aa0e555206b60dec3bc07f7afab4352883.tar.bz2 |
fixes
-rw-r--r-- | korganizer/mainwindow.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 8a4c7eb..6ddced0 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -746,3 +746,3 @@ void MainWindow::initActions() icon = loadPixmap( pathString + "filter" ); - configureToolBarMenu->insertItem(icon, i18n("Toggle FilterView"), 26 ); + configureToolBarMenu->insertItem(icon, i18n("Filter menu icon"), 26 ); action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); @@ -780,3 +780,12 @@ void MainWindow::initActions() if ( p->mShowIconNavigator ) mToggleNav ->addTo( iconToolBar ); - if ( p->mShowIconFilterview ) mToggleFilter->addTo( iconToolBar ); + if ( p->mShowIconFilterview ) { + icon = loadPixmap( pathString + "filter" ); + QPEMenuBar *menuBar111 = new QPEMenuBar( iconToolBar ); + menuBar111->insertItem( icon.pixmap(), selectFilterMenu); + int isi = 24; + if ( QApplication::desktop()->width() < 480 ) + isi = 18; + menuBar111->setFixedSize( QSize( isi, isi )) ; + } + //******************** if ( p->mShowIconAllday ) mToggleAllday->addTo( iconToolBar ); |