Commit c589b239 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

QmlJSEditor: Pass string list by reference



Change-Id: Iab15b11834a6b0339b163a4444d4ef695cae7416
Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
parent ea4b4bff
...@@ -165,7 +165,7 @@ void QmlTaskManager::updateMessagesNow(bool updateSemantic) ...@@ -165,7 +165,7 @@ void QmlTaskManager::updateMessagesNow(bool updateSemantic)
m_messageCollector.setFuture(future); m_messageCollector.setFuture(future);
} }
void QmlTaskManager::documentsRemoved(const QStringList path) void QmlTaskManager::documentsRemoved(const QStringList &path)
{ {
foreach (const QString &item, path) foreach (const QString &item, path)
removeTasksForFile(item); removeTasksForFile(item);
......
...@@ -55,7 +55,7 @@ public: ...@@ -55,7 +55,7 @@ public:
public slots: public slots:
void updateMessages(); void updateMessages();
void updateSemanticMessagesNow(); void updateSemanticMessagesNow();
void documentsRemoved(const QStringList path); void documentsRemoved(const QStringList &path);
private slots: private slots:
void displayResults(int begin, int end); void displayResults(int begin, int end);
......
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