Permalink
Browse files

fix double translation of line weight combo box entries

  • Loading branch information...
1 parent 61e163d commit 55a46d43fcd39825bd440e13377a106aee740cdf @qcad committed Jul 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/RLineweightCombo.cpp
View
4 src/gui/RLineweightCombo.cpp
@@ -16,6 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with QCAD.
*/
+#include <QDebug>
#include <QSize>
#include "RDebug.h"
@@ -49,8 +50,7 @@ void RLineweightCombo::init() {
while (it.hasNext()) {
QPair<QString, RLineweight::Lineweight> p = it.next();
v.setValue<RLineweight::Lineweight> (p.second);
- addItem(RLineweight::getIcon(p.second), RLineweight::tr(
- (const char*) p.first.toUtf8()), v);
+ addItem(RLineweight::getIcon(p.second), p.first, v);
}
if (!onlyFixed) {

0 comments on commit 55a46d4

Please sign in to comment.