I have a button with value of "a" set from the qt designer, i can also see that the string attribute has "a" in the xml.
<widget class="QPushButton" name="button_a">
<property name="text">
<string>a</string>
</property>
</widget>
when I do
QString str = button->text();
the value of str becomes "&a" not just "a"
But if i change it to "=" or "/" or some other symbol the don't see the "&" prefix.
What could be causing the unwanted "&" to appear?