summaryrefslogtreecommitdiffstats
path: root/localization/localization_fr_BE.ts
diff options
context:
space:
mode:
authorLukas Vogel <lukedirtwalker@gmail.com>2018-03-12 15:55:28 +0100
committerLukas Vogel <lukedirtwalker@gmail.com>2018-03-12 16:17:00 +0100
commit9e3d0d383ddf1935553aa7291bdfebf3d1141185 (patch)
tree5c93f3254459536030961840555f4d7fa76f5673 /localization/localization_fr_BE.ts
parentbaf5ea8071cfc1fff2945ffaab9633ad928e4af8 (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_fr_BE.ts')
-rw-r--r--localization/localization_fr_BE.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/localization/localization_fr_BE.ts b/localization/localization_fr_BE.ts
index 191e29f5..d7b93de0 100644
--- a/localization/localization_fr_BE.ts
+++ b/localization/localization_fr_BE.ts
@@ -693,12 +693,12 @@ p, li { white-space: pre-wrap; }
<translation>Mot de passe</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="789"/>
+ <location filename="../src/mainwindow.cpp" line="788"/>
<source>Clipboard cleared</source>
<translation>Presse-papiers vidé</translation>
</message>
<message>
- <location filename="../src/mainwindow.cpp" line="791"/>
+ <location filename="../src/mainwindow.cpp" line="790"/>
<source>Clipboard not cleared</source>
<translation>Presse-papiers non vidé</translation>
</message>