[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim-runtime/KDE/4.13] resources/pop3: Use const'ref
From: Montel Laurent <montel () kde ! org>
Date: 2014-03-25 7:10:09
Message-ID: E1WSLUv-00071k-RK () scm ! kde ! org
[Download RAW message or body]
Git commit 6e4a9856ef862bf703a59783aa0e6cb7ec5fdef1 by Montel Laurent.
Committed on 25/03/2014 at 08:10.
Pushed by mlaurent into branch 'KDE/4.13'.
Use const'ref
M +1 -1 resources/pop3/accountdialog.cpp
M +1 -1 resources/pop3/accountdialog.h
http://commits.kde.org/kdepim-runtime/6e4a9856ef862bf703a59783aa0e6cb7ec5fdef1
diff --git a/resources/pop3/accountdialog.cpp b/resources/pop3/accountdialog.cpp
index 6aad6ee..76cf92b 100644
--- a/resources/pop3/accountdialog.cpp
+++ b/resources/pop3/accountdialog.cpp
@@ -417,7 +417,7 @@ void AccountDialog::slotCheckPopCapabilities()
mServerTestFailed = false;
}
-void AccountDialog::slotPopCapabilities( QList<int> encryptionTypes )
+void AccountDialog::slotPopCapabilities( const QList<int> &encryptionTypes )
{
checkCapabilitiesStack->setCurrentIndex( 0 );
enableButtonOk( true );
diff --git a/resources/pop3/accountdialog.h b/resources/pop3/accountdialog.h
index 421102c..387a5af 100644
--- a/resources/pop3/accountdialog.h
+++ b/resources/pop3/accountdialog.h
@@ -55,7 +55,7 @@ class AccountDialog : public KDialog, private Ui::PopPage
void slotPipeliningClicked();
void slotPopEncryptionChanged(int);
void slotCheckPopCapabilities();
- void slotPopCapabilities( QList<int> );
+ void slotPopCapabilities(const QList<int> & );
void slotLeaveOnServerDaysChanged( int value );
void slotLeaveOnServerCountChanged( int value );
void slotFilterOnServerSizeChanged( int value );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic