mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-21 16:27:39 -06:00
Passing the arguments to the function appending the path by reference.
This commit is contained in:
parent
bfe1b773b3
commit
8b8e6fe59b
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user