
Originally Posted by
marcel
Could you post that code?. The one that handles the file dialog.
Maybe you have something in there that depends on something on your machine.
Regards
Here is the code
void MainWindow::fileOpen()
{
saveBeforeOpening();
this,
QString::null,
"*.syn;;*.r" ) );
if( fileName.isEmpty() )
{
emit explain( tr("Open file dialog cancelled") );
}
else
{
openFile( fileName );
}
}
void MainWindow::fileOpen()
{
saveBeforeOpening();
QTextCodec *codec = QTextCodec::codecForLocale();
QString fileName = codec->fromUnicode( QFileDialog::getOpenFileName(
this, QString::null, "*.syn;;*.r" ) );
if( fileName.isEmpty() )
{
emit explain( tr("Open file dialog cancelled") );
}
else
{
openFile( fileName );
}
}
To copy to clipboard, switch view to plain text mode
Bookmarks