author | zautrix <zautrix> | 2005-07-03 08:42:34 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-03 08:42:34 (UTC) |
commit | 971bfd3cf502fbbafc96bef70e21beb545e450b5 (patch) (side-by-side diff) | |
tree | 2d4b2d0d291c5a23bb39e3f448403acbe86cc071 /korganizer/kolistview.cpp | |
parent | 914c795a77d8bb28fc8c2155cfc9524f3effdde1 (diff) | |
download | kdepimpi-971bfd3cf502fbbafc96bef70e21beb545e450b5.zip kdepimpi-971bfd3cf502fbbafc96bef70e21beb545e450b5.tar.gz kdepimpi-971bfd3cf502fbbafc96bef70e21beb545e450b5.tar.bz2 |
fixes
-rw-r--r-- | korganizer/kolistview.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index cec0476..25e599d 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp @@ -320,10 +320,12 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent, SLOT(hideAll()),true); selPopup->insertSeparator(); + QPopupMenu * exportPO = new QPopupMenu ( this ); + selPopup->insertItem( i18n("Export"), exportPO ); #ifdef DESKTOP_VERSION mPopupMenu->insertSeparator(); mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), - i18n("Print complete list"),this, + i18n("Print complete list..."),this, SLOT(printList()),true); #endif mCalPopup = new QPopupMenu ( this ); @@ -347,8 +349,6 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent, SLOT( setCalendar( int ) )); QObject::connect(mPopupMenu,SIGNAL(categoryChanged( Incidence * )),this, SLOT( catChanged( Incidence * ) )); - QPopupMenu * exportPO = new QPopupMenu ( this ); - selPopup->insertItem( i18n("Export"), exportPO ); exportPO->insertItem( i18n("As iCal (ics) file..."),this, SLOT(saveToFile())); exportPO->insertItem( i18n("As vCal (vcs) file..."),this, @@ -1312,7 +1312,6 @@ KOListViewListView::KOListViewListView(KOListView * lv ) } bool KOListViewListView::hasMultiSelection(QListViewItem* item) { - int selCount = 0; QListViewItem *qitem = firstChild (); while ( qitem ) { if ( qitem->isSelected() && item != qitem ) |