From eebe4409884ccd4dedb7cb697a800f74b33eb292 Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 16 Sep 2004 23:29:24 +0000 Subject: Fixes in ompi --- (limited to 'kmicromail') diff --git a/kmicromail/libmailwrapper/abstractmail.cpp b/kmicromail/libmailwrapper/abstractmail.cpp index 88545f8..673f288 100644 --- a/kmicromail/libmailwrapper/abstractmail.cpp +++ b/kmicromail/libmailwrapper/abstractmail.cpp @@ -181,6 +181,7 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe QValueList t; listMessages(fromFolder->getName(),t,acc->getMaxMailSize() ); if ( t.count() == 0 ) { + qDebug("There are no new messages %s", fromFolder->getName().latin1()); Global::statusMessage(tr("There are no new messages")); return; } @@ -209,6 +210,7 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe } ++iii; } + qDebug("Downloaded %d messages ",n.count() ); if ( n.count() == 0 ) { Global::statusMessage(tr("There are no new messages")); return; diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 2a67e39..ddded2a 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp @@ -34,7 +34,7 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) addToolBar( toolBar ); toolBar->setHorizontalStretchable( true ); - QAction* getMail = new QAction( tr( "Get all new mails" ), SmallIcon("add"), + QAction* getMail = new QAction( tr( "Get all new mails" ), SmallIcon("enter"), 0, 0, this ); connect(getMail, SIGNAL( activated() ), SLOT( slotGetAllMail() ) ); diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 3cbac8e..9a1a750 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -265,8 +265,6 @@ void OpieMail::slotGetMail() { QListViewItem * item = folderView->currentItem(); if ( ! item ) return; - while ( item->parent () ) - item = item->parent (); ((AccountViewItem *)item)->contextMenuSelected( 101 ); } void OpieMail::slotDeleteMail() -- cgit v0.9.0.2