Hi everybody.
QT 4.1.3 Win MINGW
I am trying to replace "'"with "\'" but its not working
Have somebody a idea why not?
Don't musst be Don\'t after replacing
//style = Don't
QString style
= ui.
add_new_style_le->text
();
//test = Don't and not Don\'t :crying:
//style = Don't
QString style = ui.add_new_style_le->text();
QString test = style.replace(QString("'"), QString("\'"));
//test = Don't and not Don\'t :crying:
QMessageBox::information(this,"",test);
To copy to clipboard, switch view to plain text mode
Bookmarks