Skip to content

Commit

Permalink
Fix hybridgroup#9 by properly escaping i18n characters when displayed…
Browse files Browse the repository at this point in the history
… in dialogs
  • Loading branch information
deadprogram committed Jul 14, 2012
1 parent 69dbf13 commit 7b4f88c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/widgets/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ def current_output
end

def alert(text)
Qt::MessageBox::information(self, tr(version_description), text)
Qt::MessageBox::information(self, tr(version_description), URI.decode(text))
end

def ask(text)
ok = Qt::Boolean.new
val = Qt::InputDialog.getText(self, tr(version_description),
tr(text), Qt::LineEdit::Normal,
URI.decode(text), Qt::LineEdit::Normal,
"", ok)
return val
end
Expand Down

0 comments on commit 7b4f88c

Please sign in to comment.