forked from qt-creator/qt-creator
Core: Pass const string by reference
Change-Id: Ic927334a04cf61bccede3179eee0ca679c5b998f Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
1c47b15d18
commit
c58cb2a4f0
@@ -867,8 +867,8 @@ bool DocumentManager::saveModifiedDocument(IDocument *document, const QString &m
|
||||
*/
|
||||
|
||||
QStringList DocumentManager::getOpenFileNames(const QString &filters,
|
||||
const QString pathIn,
|
||||
QString *selectedFilter)
|
||||
const QString &pathIn,
|
||||
QString *selectedFilter)
|
||||
{
|
||||
QString path = pathIn;
|
||||
if (path.isEmpty()) {
|
||||
|
Reference in New Issue
Block a user