gcc 4.1 fixes

svn path=/branches/kdepim/proko2/kdepim/; revision=544378
wilder-work
Till Adam 20 years ago
parent 37328d334f
commit 30405f8174
  1. 4
      folderdiaquotatab.cpp
  2. 4
      kmmainwidget.h

@ -50,7 +50,7 @@ using namespace KMail;
class FolderDiaQuotaTab::QuotaWidget : public QWidget {
public:
QuotaWidget::QuotaWidget( QWidget* parent, const char* name = 0 )
QuotaWidget( QWidget* parent, const char* name = 0 )
:QWidget( parent, name )
{
QVBoxLayout *box = new QVBoxLayout(this);
@ -177,7 +177,7 @@ void KMail::FolderDiaQuotaTab::slotConnectionResult( int errorCode, const QStrin
disconnect( mImapAccount, SIGNAL( connectionResult(int, const QString&) ),
this, SLOT( slotConnectionResult(int, const QString&) ) );
if ( errorCode ) {
if ( errorCode == -1 ) // unspecified error
if ( errorCode == -1 ) // unspecified error
mLabel->setText( i18n( "Error connecting to server %1" ).arg( mImapAccount->host() ) );
else
// Connection error (error message box already shown by the account)

@ -387,12 +387,12 @@ private:
/** Helper which finds the associated account if there is a current
* folder and it is an imap or disconnected imap one.
*/
KMail::ImapAccountBase* KMMainWidget::findCurrentImapAccountBase();
KMail::ImapAccountBase* findCurrentImapAccountBase();
/** Helper which finds the associated IMAP path if there is a current
* folder and it is an imap or disconnected imap one.
*/
QString KMMainWidget::findCurrentImapPath();
QString findCurrentImapPath();
private:
// Message actions

Loading…
Cancel
Save