Commit 7ab6997d authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

CPaster: Pass const list by reference



Change-Id: Ia81206925dd97dc402a8f4f815c927ffefcf3fdc
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent ad13c912
......@@ -41,7 +41,7 @@ static const char widthKeyC[] = "PasteViewWidth";
namespace CodePaster {
// -------------------------------------------------------------------------------------------------
PasteView::PasteView(const QList<Protocol *> protocols,
PasteView::PasteView(const QList<Protocol *> &protocols,
const QString &mt,
QWidget *parent) :
QDialog(parent),
......
......@@ -50,7 +50,7 @@ public:
PlainTextMode
};
explicit PasteView(const QList<Protocol *> protocols,
explicit PasteView(const QList<Protocol *> &protocols,
const QString &mimeType,
QWidget *parent);
~PasteView();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment