mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -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
|
// App headers
|
||||||
#include "Server.h"
|
#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))
|
if (!python_path.contains(path))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user