aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/converter
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/converter')
-rw-r--r--src/plugins/General/converter/converterdialog.cpp2
-rw-r--r--src/plugins/General/converter/converterdialog.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/General/converter/converterdialog.cpp b/src/plugins/General/converter/converterdialog.cpp
index 90de6aca1..f6e1fe6ee 100644
--- a/src/plugins/General/converter/converterdialog.cpp
+++ b/src/plugins/General/converter/converterdialog.cpp
@@ -36,7 +36,7 @@
#include "preseteditor.h"
#include "converterdialog.h"
-ConverterDialog::ConverterDialog(QList <PlayListTrack *> tracks, QWidget *parent) : QDialog(parent)
+ConverterDialog::ConverterDialog(const QList <PlayListTrack *> &tracks, QWidget *parent) : QDialog(parent)
{
m_ui.setupUi(this);
m_ui.tableWidget->verticalHeader()->setDefaultSectionSize(fontMetrics().height() + 3);
diff --git a/src/plugins/General/converter/converterdialog.h b/src/plugins/General/converter/converterdialog.h
index e1d7dd2c1..89eeaa0e8 100644
--- a/src/plugins/General/converter/converterdialog.h
+++ b/src/plugins/General/converter/converterdialog.h
@@ -37,7 +37,7 @@ class ConverterDialog : public QDialog
{
Q_OBJECT
public:
- explicit ConverterDialog(QList <PlayListTrack *> items, QWidget *parent = nullptr);
+ explicit ConverterDialog(const QList<PlayListTrack *> &items, QWidget *parent = nullptr);
virtual ~ConverterDialog();
public slots: