Maiby another win open source bug![]()
Maiby another win open source bug![]()
a life without programming is like an empty bottle![]()
Maybe you should add a check for if the codec could be found.
In MainWindow::load():
Qt Code:
if (codec) { ui.textEdit->setPlainText(str); }To copy to clipboard, switch view to plain text modeSo I'd suspect the usage of null pointer.. Probably the "other" machine does not have the codec installed?As docs say:
QTextCodec::codecForName() returns 0 if no codec matching the name name could be found.
Last edited by jpn; 29th March 2006 at 10:48.
thanks~~~~~
all is ok~
Bookmarks