Passing the arguments to the function appending the path by reference.

This commit is contained in:
Ashesh Vashi 2016-06-20 23:03:57 +05:30
parent bfe1b773b3
commit 8b8e6fe59b

View File

@ -23,7 +23,7 @@
// App headers
#include "Server.h"
static void add_to_path(QString python_path, QString path, bool prepend=false)
static void add_to_path(QString &python_path, QString path, bool prepend=false)
{
if (!python_path.contains(path))
{