Fixed compilation warnings while building pgAdmin. Fixes #5351

This commit is contained in:
Dave Page
2020-04-03 19:23:32 +05:30
committed by Akshay Joshi
parent 99e4c3350f
commit e26a9a25d5
2 changed files with 4 additions and 3 deletions

View File

@@ -303,9 +303,9 @@ bool Server::Init()
QDir dir;
if (paths[i].startsWith('/'))
dir = paths[i];
dir.setPath(paths[i]);
else
dir = QCoreApplication::applicationDirPath() + "/" + paths[i];
dir.setPath(QCoreApplication::applicationDirPath() + "/" + paths[i]);
m_appfile = dir.canonicalPath() + "/pgAdmin4.py";