Minor code optimization

This commit is contained in:
Christophe Dumez 2012-06-10 20:49:50 +03:00
parent 81e4e39878
commit 3197d5cc2f
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ using namespace libtorrent;
*****************************************************/
// Constructor
MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), m_posInitialized(false), force_exit(false) {
MainWindow::MainWindow(QWidget *parent, const QStringList& torrentCmdLine) : QMainWindow(parent), m_posInitialized(false), force_exit(false) {
setupUi(this);
Preferences pref;