public inbox for [email protected]  
help / color / mirror / Atom feed
From: Dave Page <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: RM5351 - Cleanup compilation warnings
Date: Fri, 3 Apr 2020 13:55:05 +0100
Message-ID: <CA+OCxowgv9dCaO9=KvXT0ELZMKBMtTX5R88QZw1q36KvWBZD-g@mail.gmail.com> (raw)

Patch attached for $SUBJECT.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Attachments:

  [application/octet-stream] RM5351.patch (683B, 3-RM5351.patch)
  download | inline diff:
Index: runtime/Server.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- runtime/Server.cpp	(revision 99a72e529b5e38f92c9f5d091dc599c86eb8cb98)
+++ runtime/Server.cpp	(date 1585918311044)
@@ -303,9 +303,9 @@
         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";
 


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: RM5351 - Cleanup compilation warnings
  In-Reply-To: <CA+OCxowgv9dCaO9=KvXT0ELZMKBMtTX5R88QZw1q36KvWBZD-g@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox