Don't convert a QString to a QString through a decode/encode QByteArray transition... it breaks

the return value for KDialog's --textinputbox.  Will backport to KDE 4.2.

svn path=/trunk/KDE/kdebase/apps/; revision=936126
This commit is contained in:
Michael Pyne 2009-03-07 04:04:28 +00:00
parent 4d7711b935
commit 62935954c9

View file

@ -165,7 +165,7 @@ int Widgets::textInputBox(QWidget *parent, int width, int height, const QString&
handleXGeometry(&dlg);
dlg.setCaption(title);
dlg.exec();
result = edit->toPlainText().toLocal8Bit();
result = edit->toPlainText();
return 0;
}