From 816c051f1d99a5399fc07cfa9f613e9d25fcda02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus=20Lensb=C3=B8l?= Date: Fri, 12 Jun 2020 18:27:38 +0200 Subject: Update minimum Qt version The code uses QRandomGenerator which was not introduced until Qt 5.10 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71f859f9..3f0b8a29 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Windows **Dependencies** -* QtPass requires Qt 5.2 or later +* QtPass requires Qt 5.10 or later * The Linguist package is required to compile the translations. * For use of the fallback icons the SVG library is required. -- cgit v1.2.3 From ce4cbde592fc6a57bbacf85e963432b53ab9bd33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus=20Lensb=C3=B8l?= Date: Fri, 12 Jun 2020 19:02:34 +0200 Subject: Show passwords as monospace Fixes #514 --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 9ce04305..0f838897 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -390,7 +390,7 @@ void MainWindow::passShowHandler(const QString &p_output) { } else { if (!password.isEmpty()) { // set the password, it is hidden if needed in addToGridLayout - addToGridLayout(0, tr("Password"), password); + addToGridLayout(0, tr("Password"), "" + password + ""); } NamedValues namedValues = fileContent.getNamedValues(); -- cgit v1.2.3 From 68c46584d1db00dd264a0cb0592a9a309e27af18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus=20Lensb=C3=B8l?= Date: Fri, 12 Jun 2020 22:48:02 +0200 Subject: Revert "Show passwords as monospace" This reverts commit ce4cbde592fc6a57bbacf85e963432b53ab9bd33. --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 0f838897..9ce04305 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -390,7 +390,7 @@ void MainWindow::passShowHandler(const QString &p_output) { } else { if (!password.isEmpty()) { // set the password, it is hidden if needed in addToGridLayout - addToGridLayout(0, tr("Password"), "" + password + ""); + addToGridLayout(0, tr("Password"), password); } NamedValues namedValues = fileContent.getNamedValues(); -- cgit v1.2.3