forked from qt-creator/qt-creator
Core: Pass const values by reference
Change-Id: I44f16528f2ee8fb41351153bab8dc340f4f2cca1 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a77e75c36e
commit
bc6c5b9968
@@ -140,7 +140,7 @@ ReadOnlyFilesDialog::ReadOnlyFilesDialog(IDocument *document, QWidget *parent,
|
||||
initDialog(QStringList() << document->filePath());
|
||||
}
|
||||
|
||||
ReadOnlyFilesDialog::ReadOnlyFilesDialog(const QList<IDocument *> documents, QWidget *parent)
|
||||
ReadOnlyFilesDialog::ReadOnlyFilesDialog(const QList<IDocument *> &documents, QWidget *parent)
|
||||
: QDialog(parent)
|
||||
, d(new ReadOnlyFilesDialogPrivate)
|
||||
, ui(new Ui::ReadOnlyFilesDialog)
|
||||
|
||||
Reference in New Issue
Block a user