-rw-r--r-- | kmicromail/libmailwrapper/abstractmail.cpp | 2 | ||||
-rw-r--r-- | kmicromail/mainwindow.cpp | 2 | ||||
-rw-r--r-- | kmicromail/opiemail.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
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 @@ -182,4 +182,5 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe 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; @@ -210,4 +211,5 @@ 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")); diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 2a67e39..ddded2a 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp @@ -35,5 +35,5 @@ 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() ), diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 3cbac8e..9a1a750 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -266,6 +266,4 @@ void OpieMail::slotGetMail() QListViewItem * item = folderView->currentItem(); if ( ! item ) return; - while ( item->parent () ) - item = item->parent (); ((AccountViewItem *)item)->contextMenuSelected( 101 ); } |