summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2020-02-25 11:29:05 +0100
committerAnne Jan Brouwer <brouwer@annejan.com>2020-02-25 11:29:05 +0100
commitae116715f3e78f55a8988ac33ee47de76c9c3690 (patch)
tree8e62ab91806db973e33de4cd17e0dffc968cc2c8
parentccc4eabcbf816ecea445bb862d8bf8bff975cb50 (diff)
Minor cleanup
-rw-r--r--CHANGELOG.md17
-rw-r--r--localization/localization_ar_MA.ts2
-rw-r--r--localization/localization_ca.ts2
-rw-r--r--localization/localization_cs_CZ.ts2
-rw-r--r--localization/localization_de_DE.ts2
-rw-r--r--localization/localization_de_LU.ts2
-rw-r--r--localization/localization_el_GR.ts2
-rw-r--r--localization/localization_en_GB.ts2
-rw-r--r--localization/localization_en_US.ts2
-rw-r--r--localization/localization_es_ES.ts2
-rw-r--r--localization/localization_fr_BE.ts2
-rw-r--r--localization/localization_fr_FR.ts2
-rw-r--r--localization/localization_fr_LU.ts2
-rw-r--r--localization/localization_gl_ES.ts2
-rw-r--r--localization/localization_he_IL.ts2
-rw-r--r--localization/localization_hr.ts2
-rw-r--r--localization/localization_hu_HU.ts2
-rw-r--r--localization/localization_it_IT.ts2
-rw-r--r--localization/localization_lb_LU.ts2
-rw-r--r--localization/localization_nb_NO.ts2
-rw-r--r--localization/localization_nl_BE.ts2
-rw-r--r--localization/localization_nl_NL.ts2
-rw-r--r--localization/localization_pl_PL.ts2
-rw-r--r--localization/localization_pt_PT.ts2
-rw-r--r--localization/localization_ru_RU.ts2
-rw-r--r--localization/localization_sq_AL.ts2
-rw-r--r--localization/localization_sv_SE.ts2
-rw-r--r--localization/localization_tr_TR.ts2
-rw-r--r--localization/localization_zh_CN.ts2
-rw-r--r--src/mainwindow.cpp16
-rw-r--r--src/qpushbuttonshowpassword.cpp6
-rw-r--r--src/qpushbuttonshowpassword.h2
32 files changed, 51 insertions, 46 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ff0486d6..91d3b568 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@
**Closed issues:**
+- Default password visibility [\#511](https://github.com/IJHack/QtPass/issues/511)
- Consider mentioning export abilities in migration docs, if any are present [\#505](https://github.com/IJHack/QtPass/issues/505)
- Enable out-of-source \(shadow\) builds. [\#501](https://github.com/IJHack/QtPass/issues/501)
- password visiblity can't be fully hidden [\#496](https://github.com/IJHack/QtPass/issues/496)
@@ -21,6 +22,7 @@
- Front-End doesn't work well with HiDPI screen [\#464](https://github.com/IJHack/QtPass/issues/464)
- How to let QtPass use the real "pass" on windows [\#458](https://github.com/IJHack/QtPass/issues/458)
- Fresh install of Antergos with Deepin - High DPI scaling is not working [\#417](https://github.com/IJHack/QtPass/issues/417)
+- Strange behavior when clearing filter [\#402](https://github.com/IJHack/QtPass/issues/402)
- Tray icon remains after quitting program [\#401](https://github.com/IJHack/QtPass/issues/401)
- QtPass doesn't work will pass in WSL [\#375](https://github.com/IJHack/QtPass/issues/375)
- No prompt for passphrase for git key on windows. [\#317](https://github.com/IJHack/QtPass/issues/317)
@@ -184,7 +186,6 @@
**Closed issues:**
-- Strange behavior when clearing filter [\#402](https://github.com/IJHack/QtPass/issues/402)
- Multiple question marks while trying to delete password [\#385](https://github.com/IJHack/QtPass/issues/385)
- No button icons and text in "menu bar" [\#383](https://github.com/IJHack/QtPass/issues/383)
- Cannot add a new password [\#380](https://github.com/IJHack/QtPass/issues/380)
@@ -406,6 +407,7 @@
- issue 91 bugfix [\#199](https://github.com/IJHack/QtPass/pull/199) ([asalamon74](https://github.com/asalamon74))
- issue 101 bugfix [\#198](https://github.com/IJHack/QtPass/pull/198) ([asalamon74](https://github.com/asalamon74))
+- ArchLinux: moved from AUR to \[community\] [\#196](https://github.com/IJHack/QtPass/pull/196) ([eworm-de](https://github.com/eworm-de))
- Czech translation [\#195](https://github.com/IJHack/QtPass/pull/195) ([svetlemodry](https://github.com/svetlemodry))
## [v1.1.3](https://github.com/IJHack/QtPass/tree/v1.1.3) (2016-06-10)
@@ -453,7 +455,6 @@
- Bind a key to the clear action [\#142](https://github.com/IJHack/QtPass/issues/142)
- Installation dependencies [\#140](https://github.com/IJHack/QtPass/issues/140)
- All text input fields need example text & edit dialogue changes [\#85](https://github.com/IJHack/QtPass/issues/85)
-- OSX: Qt-window closed only reappears when 'active' and using tray incon [\#77](https://github.com/IJHack/QtPass/issues/77)
**Fixed bugs:**
@@ -469,7 +470,6 @@
**Merged pull requests:**
-- ArchLinux: moved from AUR to \[community\] [\#196](https://github.com/IJHack/QtPass/pull/196) ([eworm-de](https://github.com/eworm-de))
- lupdate and Russian translation [\#170](https://github.com/IJHack/QtPass/pull/170) ([ahippo](https://github.com/ahippo))
- Remove path to password store in commit message and a leading space. [\#169](https://github.com/IJHack/QtPass/pull/169) ([ahippo](https://github.com/ahippo))
- Use --secure for pwgen and add more configurable options [\#168](https://github.com/IJHack/QtPass/pull/168) ([ahippo](https://github.com/ahippo))
@@ -479,7 +479,6 @@
- Two UI Tweaks [\#158](https://github.com/IJHack/QtPass/pull/158) ([lftl](https://github.com/lftl))
- configwindow.ui default/start tab set to "settings" [\#154](https://github.com/IJHack/QtPass/pull/154) ([jounathaen](https://github.com/jounathaen))
- FAQ update concerning button-icons on cinnamon [\#153](https://github.com/IJHack/QtPass/pull/153) ([jounathaen](https://github.com/jounathaen))
-- RPM Spec file updates [\#137](https://github.com/IJHack/QtPass/pull/137) ([muff1nman](https://github.com/muff1nman))
## [v1.1.0](https://github.com/IJHack/QtPass/tree/v1.1.0) (2016-01-25)
[Full Changelog](https://github.com/IJHack/QtPass/compare/v1.0.6...v1.1.0)
@@ -497,6 +496,7 @@
- Pre 1.1 mixing [\#145](https://github.com/IJHack/QtPass/pull/145) ([annejan](https://github.com/annejan))
- Futurator Keygen [\#144](https://github.com/IJHack/QtPass/pull/144) ([annejan](https://github.com/annejan))
- Futurator redesign proper [\#141](https://github.com/IJHack/QtPass/pull/141) ([annejan](https://github.com/annejan))
+- RPM Spec file updates [\#137](https://github.com/IJHack/QtPass/pull/137) ([muff1nman](https://github.com/muff1nman))
- swedish translations [\#135](https://github.com/IJHack/QtPass/pull/135) ([ralphtheninja](https://github.com/ralphtheninja))
## [v1.0.6](https://github.com/IJHack/QtPass/tree/v1.0.6) (2016-01-03)
@@ -565,6 +565,10 @@
## [v1.0.2](https://github.com/IJHack/QtPass/tree/v1.0.2) (2015-09-24)
[Full Changelog](https://github.com/IJHack/QtPass/compare/v1.0.1...v1.0.2)
+**Implemented enhancements:**
+
+- OSX: Qt-window closed only reappears when 'active' and using tray incon [\#77](https://github.com/IJHack/QtPass/issues/77)
+
**Closed issues:**
- Generate password: Floating point exception \(core dumped\) [\#102](https://github.com/IJHack/QtPass/issues/102)
@@ -643,10 +647,6 @@
- Remember window size and vertical pane width [\#59](https://github.com/IJHack/QtPass/issues/59)
- Multiline Editing [\#34](https://github.com/IJHack/QtPass/issues/34)
-**Merged pull requests:**
-
-- To make building successfull wi Desktop Qt 5.4.0 MSVC2012 OpenGL 32bit [\#67](https://github.com/IJHack/QtPass/pull/67) ([annejan](https://github.com/annejan))
-
## [v0.8.5.1](https://github.com/IJHack/QtPass/tree/v0.8.5.1) (2015-07-08)
[Full Changelog](https://github.com/IJHack/QtPass/compare/v0.8.5...v0.8.5.1)
@@ -676,6 +676,7 @@
**Merged pull requests:**
+- To make building successfull wi Desktop Qt 5.4.0 MSVC2012 OpenGL 32bit [\#67](https://github.com/IJHack/QtPass/pull/67) ([annejan](https://github.com/annejan))
- Develop [\#52](https://github.com/IJHack/QtPass/pull/52) ([annejan](https://github.com/annejan))
- Minor thingies [\#51](https://github.com/IJHack/QtPass/pull/51) ([beefcurtains](https://github.com/beefcurtains))
diff --git a/localization/localization_ar_MA.ts b/localization/localization_ar_MA.ts
index db75503c..7c261129 100644
--- a/localization/localization_ar_MA.ts
+++ b/localization/localization_ar_MA.ts
@@ -674,7 +674,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation type="unfinished"></translation>
</message>
diff --git a/localization/localization_ca.ts b/localization/localization_ca.ts
index ce23ef40..36506759 100644
--- a/localization/localization_ca.ts
+++ b/localization/localization_ca.ts
@@ -831,7 +831,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Contrasenya</translation>
</message>
diff --git a/localization/localization_cs_CZ.ts b/localization/localization_cs_CZ.ts
index aca37b6b..b0c4c296 100644
--- a/localization/localization_cs_CZ.ts
+++ b/localization/localization_cs_CZ.ts
@@ -757,7 +757,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Heslo</translation>
</message>
diff --git a/localization/localization_de_DE.ts b/localization/localization_de_DE.ts
index 5809ae9d..48c9e9ba 100644
--- a/localization/localization_de_DE.ts
+++ b/localization/localization_de_DE.ts
@@ -759,7 +759,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Kennwort</translation>
</message>
diff --git a/localization/localization_de_LU.ts b/localization/localization_de_LU.ts
index 0a4c9b38..29ddbb53 100644
--- a/localization/localization_de_LU.ts
+++ b/localization/localization_de_LU.ts
@@ -743,7 +743,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Passwort</translation>
</message>
diff --git a/localization/localization_el_GR.ts b/localization/localization_el_GR.ts
index 177fd15e..7369ac21 100644
--- a/localization/localization_el_GR.ts
+++ b/localization/localization_el_GR.ts
@@ -699,7 +699,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Κωδικός Πρόσβασης</translation>
</message>
diff --git a/localization/localization_en_GB.ts b/localization/localization_en_GB.ts
index 1b4ee4bd..2ae1c999 100644
--- a/localization/localization_en_GB.ts
+++ b/localization/localization_en_GB.ts
@@ -831,7 +831,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Password</translation>
</message>
diff --git a/localization/localization_en_US.ts b/localization/localization_en_US.ts
index d254dbb0..f5f0ac41 100644
--- a/localization/localization_en_US.ts
+++ b/localization/localization_en_US.ts
@@ -831,7 +831,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Password</translation>
</message>
diff --git a/localization/localization_es_ES.ts b/localization/localization_es_ES.ts
index 48b2867c..acd326d9 100644
--- a/localization/localization_es_ES.ts
+++ b/localization/localization_es_ES.ts
@@ -677,7 +677,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Contraseña</translation>
</message>
diff --git a/localization/localization_fr_BE.ts b/localization/localization_fr_BE.ts
index 07e801db..1989fda8 100644
--- a/localization/localization_fr_BE.ts
+++ b/localization/localization_fr_BE.ts
@@ -770,7 +770,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Mot de passe</translation>
</message>
diff --git a/localization/localization_fr_FR.ts b/localization/localization_fr_FR.ts
index cd82235e..73457b40 100644
--- a/localization/localization_fr_FR.ts
+++ b/localization/localization_fr_FR.ts
@@ -770,7 +770,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Mot de passe</translation>
</message>
diff --git a/localization/localization_fr_LU.ts b/localization/localization_fr_LU.ts
index 263b5f2c..2498b90b 100644
--- a/localization/localization_fr_LU.ts
+++ b/localization/localization_fr_LU.ts
@@ -770,7 +770,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Mot de passe</translation>
</message>
diff --git a/localization/localization_gl_ES.ts b/localization/localization_gl_ES.ts
index 8a106b17..0016fd33 100644
--- a/localization/localization_gl_ES.ts
+++ b/localization/localization_gl_ES.ts
@@ -821,7 +821,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation type="unfinished"></translation>
</message>
diff --git a/localization/localization_he_IL.ts b/localization/localization_he_IL.ts
index 4d4d0c95..7e38a0e0 100644
--- a/localization/localization_he_IL.ts
+++ b/localization/localization_he_IL.ts
@@ -678,7 +678,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation type="unfinished"></translation>
</message>
diff --git a/localization/localization_hr.ts b/localization/localization_hr.ts
index be278758..417ce0c7 100644
--- a/localization/localization_hr.ts
+++ b/localization/localization_hr.ts
@@ -831,7 +831,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Lozinka</translation>
</message>
diff --git a/localization/localization_hu_HU.ts b/localization/localization_hu_HU.ts
index 58c8f02f..ec2d1015 100644
--- a/localization/localization_hu_HU.ts
+++ b/localization/localization_hu_HU.ts
@@ -781,7 +781,7 @@ Lejárat-dátum: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Jelszó</translation>
</message>
diff --git a/localization/localization_it_IT.ts b/localization/localization_it_IT.ts
index afe147b4..ce094040 100644
--- a/localization/localization_it_IT.ts
+++ b/localization/localization_it_IT.ts
@@ -842,7 +842,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Password</translation>
</message>
diff --git a/localization/localization_lb_LU.ts b/localization/localization_lb_LU.ts
index d37ef16c..3108dfa7 100644
--- a/localization/localization_lb_LU.ts
+++ b/localization/localization_lb_LU.ts
@@ -695,7 +695,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Passwuert</translation>
</message>
diff --git a/localization/localization_nb_NO.ts b/localization/localization_nb_NO.ts
index 4058eca1..1ddf85f7 100644
--- a/localization/localization_nb_NO.ts
+++ b/localization/localization_nb_NO.ts
@@ -686,7 +686,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Passord</translation>
</message>
diff --git a/localization/localization_nl_BE.ts b/localization/localization_nl_BE.ts
index c52ca875..5cdf7701 100644
--- a/localization/localization_nl_BE.ts
+++ b/localization/localization_nl_BE.ts
@@ -828,7 +828,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Wachtwoord</translation>
</message>
diff --git a/localization/localization_nl_NL.ts b/localization/localization_nl_NL.ts
index 4b339085..32ca4cf9 100644
--- a/localization/localization_nl_NL.ts
+++ b/localization/localization_nl_NL.ts
@@ -828,7 +828,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Wachtwoord</translation>
</message>
diff --git a/localization/localization_pl_PL.ts b/localization/localization_pl_PL.ts
index 64859e1b..0aab1eca 100644
--- a/localization/localization_pl_PL.ts
+++ b/localization/localization_pl_PL.ts
@@ -678,7 +678,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation type="unfinished"></translation>
</message>
diff --git a/localization/localization_pt_PT.ts b/localization/localization_pt_PT.ts
index cfa44019..d595b7e2 100644
--- a/localization/localization_pt_PT.ts
+++ b/localization/localization_pt_PT.ts
@@ -748,7 +748,7 @@ p, li { white-space: pre-wrap; }
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Password</translation>
</message>
diff --git a/localization/localization_ru_RU.ts b/localization/localization_ru_RU.ts
index d58760fe..0293917d 100644
--- a/localization/localization_ru_RU.ts
+++ b/localization/localization_ru_RU.ts
@@ -756,7 +756,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Пароль</translation>
</message>
diff --git a/localization/localization_sq_AL.ts b/localization/localization_sq_AL.ts
index 444a623e..8fbaeb95 100644
--- a/localization/localization_sq_AL.ts
+++ b/localization/localization_sq_AL.ts
@@ -704,7 +704,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Fjalëkalim</translation>
</message>
diff --git a/localization/localization_sv_SE.ts b/localization/localization_sv_SE.ts
index fcd6bea9..2d118535 100644
--- a/localization/localization_sv_SE.ts
+++ b/localization/localization_sv_SE.ts
@@ -694,7 +694,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Lösenord</translation>
</message>
diff --git a/localization/localization_tr_TR.ts b/localization/localization_tr_TR.ts
index a4372446..f8e80593 100644
--- a/localization/localization_tr_TR.ts
+++ b/localization/localization_tr_TR.ts
@@ -706,7 +706,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>Parola</translation>
</message>
diff --git a/localization/localization_zh_CN.ts b/localization/localization_zh_CN.ts
index 27c7c747..67fda08b 100644
--- a/localization/localization_zh_CN.ts
+++ b/localization/localization_zh_CN.ts
@@ -769,7 +769,7 @@ Expire-Date: 0
</message>
<message>
<location filename="../src/mainwindow.cpp" line="393"/>
- <location filename="../src/mainwindow.cpp" line="1093"/>
+ <location filename="../src/mainwindow.cpp" line="1095"/>
<source>Password</source>
<translation>密码</translation>
</message>
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e2e1f4a8..1a506caf 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -9,8 +9,8 @@
#include "keygendialog.h"
#include "passworddialog.h"
#include "qpushbuttonasqrcode.h"
-#include "qpushbuttonwithclipboard.h"
#include "qpushbuttonshowpassword.h"
+#include "qpushbuttonwithclipboard.h"
#include "qtpass.h"
#include "qtpasssettings.h"
#include "settingsconstants.h"
@@ -1077,7 +1077,8 @@ void MainWindow::addToGridLayout(int position, const QString &field,
connect(fieldLabel, &QPushButtonWithClipboard::clicked, m_qtPass,
&QtPass::copyTextToClipboard);
- fieldLabel->setStyleSheet("border-style: none ; background: transparent; padding: 0; margin: 0;");
+ fieldLabel->setStyleSheet(
+ "border-style: none ; background: transparent; padding: 0; margin: 0;");
frame->layout()->addWidget(fieldLabel);
}
@@ -1085,7 +1086,8 @@ void MainWindow::addToGridLayout(int position, const QString &field,
QPushButtonAsQRCode *qrbutton = new QPushButtonAsQRCode(trimmedValue, this);
connect(qrbutton, &QPushButtonAsQRCode::clicked, m_qtPass,
&QtPass::showTextAsQRCode);
- qrbutton->setStyleSheet("border-style: none ; background: transparent; padding: 0; margin: 0;");
+ qrbutton->setStyleSheet(
+ "border-style: none ; background: transparent; padding: 0; margin: 0;");
frame->layout()->addWidget(qrbutton);
}
@@ -1099,9 +1101,11 @@ void MainWindow::addToGridLayout(int position, const QString &field,
line->setStyleSheet("border-style: none ; background: transparent;");
line->setContentsMargins(0, 0, 0, 0);
line->setEchoMode(QLineEdit::Password);
- QPushButtonShowPassword *showButton = new QPushButtonShowPassword(line, this);
- showButton->setStyleSheet("border-style: none ; background: transparent; padding: 0; margin: 0;");
- showButton->setContentsMargins(0,0,0,0);
+ QPushButtonShowPassword *showButton =
+ new QPushButtonShowPassword(line, this);
+ showButton->setStyleSheet(
+ "border-style: none ; background: transparent; padding: 0; margin: 0;");
+ showButton->setContentsMargins(0, 0, 0, 0);
frame->layout()->addWidget(showButton);
frame->layout()->addWidget(line);
} else {
diff --git a/src/qpushbuttonshowpassword.cpp b/src/qpushbuttonshowpassword.cpp
index 7f8f7f79..8a92c611 100644
--- a/src/qpushbuttonshowpassword.cpp
+++ b/src/qpushbuttonshowpassword.cpp
@@ -9,11 +9,11 @@
* @param parent
* the parent window
*/
-QPushButtonShowPassword::QPushButtonShowPassword(QLineEdit* line, QWidget *parent)
+QPushButtonShowPassword::QPushButtonShowPassword(QLineEdit *line,
+ QWidget *parent)
: QPushButton(parent),
iconEdit(QIcon::fromTheme("show", QIcon(":/icons/view.svg"))),
- iconEditPushed(
- QIcon::fromTheme("hide-new", QIcon(":/icons/hide.svg"))) {
+ iconEditPushed(QIcon::fromTheme("hide-new", QIcon(":/icons/hide.svg"))) {
setIcon(iconEdit);
connect(this, SIGNAL(clicked(bool)), this, SLOT(buttonClicked(bool)));
this->line = line;
diff --git a/src/qpushbuttonshowpassword.h b/src/qpushbuttonshowpassword.h
index db1e0215..3249f5e6 100644
--- a/src/qpushbuttonshowpassword.h
+++ b/src/qpushbuttonshowpassword.h
@@ -1,8 +1,8 @@
#ifndef QPUSHBUTTONSHOWPASSWORD_H_
#define QPUSHBUTTONSHOWPASSWORD_H_
-#include <QPushButton>
#include <QLineEdit>
+#include <QPushButton>
/*!
\class QPushButtonAsQRCode