From daed59e51a59464d1f21682182968e110ecfa8db Mon Sep 17 00:00:00 2001 From: eelke Date: Sun, 23 Feb 2025 16:53:15 +0100 Subject: [PATCH] Fix using savedPasswords did not work. --- pglab/ConnectionListModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pglab/ConnectionListModel.cpp b/pglab/ConnectionListModel.cpp index c9fe688..f129849 100644 --- a/pglab/ConnectionListModel.cpp +++ b/pglab/ConnectionListModel.cpp @@ -227,7 +227,7 @@ void ConnectionTreeModel::loadConnections() auto cc = std::make_shared(); cc->setUuid(QUuid::fromString(stmt.ColumnText(0))); cc->setName(stmt.ColumnText(1)); - cc->setEncodedPassword(QByteArray::fromBase64(stmt.ColumnCharPtr(3), QByteArray::Base64Encoding)); + cc->setEncodedPassword(stmt.ColumnCharPtr(3)); loadConnectionParameters(*cc); int group_id = stmt.ColumnInteger(2);