Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <olivier@woboq.com>2017-02-23 16:54:17 +0300
committerMarkus Goetz <markus@woboq.com>2017-02-23 16:54:17 +0300
commit7bfe0613827aa7cee93a77ccbedab9b07ea9ca78 (patch)
tree585a4921dcf43b67495e14525905a662a4fb38ae /src/gui/activitywidget.ui
parent13332529022b0e1f6f02ec3a62d2233fce3f8d9c (diff)
Verify that all strings are properly escaped (#5558)
- I checked every occurence of a '%2' and make correct use of the QString::arg overload that takes several argument instead of chaining them, because the first argument can contains a '%1' - I tried to look for every label that they either use plain text or richtext and escape the user provided strings in there.
Diffstat (limited to 'src/gui/activitywidget.ui')
-rw-r--r--src/gui/activitywidget.ui9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/activitywidget.ui b/src/gui/activitywidget.ui
index 79d9a963b..97765347a 100644
--- a/src/gui/activitywidget.ui
+++ b/src/gui/activitywidget.ui
@@ -25,6 +25,9 @@
<property name="text">
<string>TextLabel</string>
</property>
+ <property name="textFormat">
+ <enum>Qt::PlainText</enum>
+ </property>
</widget>
</item>
<item row="1" column="0">
@@ -64,6 +67,9 @@
<property name="text">
<string>TextLabel</string>
</property>
+ <property name="textFormat">
+ <enum>Qt::RichText</enum>
+ </property>
</widget>
</item>
<item row="3" column="0">
@@ -87,6 +93,9 @@
<property name="text">
<string>TextLabel</string>
</property>
+ <property name="textFormat">
+ <enum>Qt::RichText</enum>
+ </property>
</widget>
</item>
<item row="5" column="0">