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

@ -22,4 +22,5 @@ Bug fixes
| `Issue #3645 <https://redmine.postgresql.org/issues/3645>`_ - Ensure that the start and end date should be deleted when clear the selection for pgAgent Job.
| `Issue #5180 <https://redmine.postgresql.org/issues/5180>`_ - Fixed an issue where the autovacuum_enabled parameter is added automatically in the RE-SQL when the table has been created using the WITH clause.
| `Issue #5268 <https://redmine.postgresql.org/issues/5268>`_ - Fixed generated SQL when any token in FTS Configuration or any option in FTS Dictionary is changed.
| `Issue #5314 <https://redmine.postgresql.org/issues/5314>`_ - Ensure that switch cell is in sync with switch control for accessibility.
| `Issue #5314 <https://redmine.postgresql.org/issues/5314>`_ - Ensure that switch cell is in sync with switch control for accessibility.
| `Issue #5351 <https://redmine.postgresql.org/issues/5351>`_ - Fixed compilation warnings while building pgAdmin.

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";