diff options
author | Lukas Vogel <lukedirtwalker@gmail.com> | 2018-03-12 15:55:28 +0100 |
---|---|---|
committer | Lukas Vogel <lukedirtwalker@gmail.com> | 2018-03-12 16:17:00 +0100 |
commit | 9e3d0d383ddf1935553aa7291bdfebf3d1141185 (patch) | |
tree | 5c93f3254459536030961840555f4d7fa76f5673 /localization/localization_ca.ts | |
parent | baf5ea8071cfc1fff2945ffaab9633ad928e4af8 (diff) |
Fix & make clearClipboard more robust
The current version had 2 bugs:
1) The clippedText was never cleared, that isn't that much of a problem
since it is overriden anyways
2) The condition to check if clearing should happen was always true
since it compared the clippedText member variable with itself. The
clippedText variables that are create above the condition are out of
scope.
I fixed these bugs and clear both clipboard types if they contain the
given text, ignoring the setting, which should make it more robust.
Diffstat (limited to 'localization/localization_ca.ts')
-rw-r--r-- | localization/localization_ca.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localization/localization_ca.ts b/localization/localization_ca.ts index 3c5bc1a3..c00c1321 100644 --- a/localization/localization_ca.ts +++ b/localization/localization_ca.ts @@ -700,12 +700,12 @@ p, li { white-space: pre-wrap; } <translation>Contrasenya</translation> </message> <message> - <location filename="../src/mainwindow.cpp" line="789"/> + <location filename="../src/mainwindow.cpp" line="788"/> <source>Clipboard cleared</source> <translation>S'ha netejat el porta-retalls</translation> </message> <message> - <location filename="../src/mainwindow.cpp" line="791"/> + <location filename="../src/mainwindow.cpp" line="790"/> <source>Clipboard not cleared</source> <translation>No s'ha netejat el porta-retalls</translation> </message> |