Quote Originally Posted by high_flyer View Post
Qt Code:
  1. void OpenFileDialog::populateProperties( const QString selected )
  2. {
  3. qDebug()<<selected;
  4. //std::string sname = selected.toStdString( );
  5. //char *filename = strdup( sname.c_str( ) );
  6. }
To copy to clipboard, switch view to plain text mode 
It prints out the filename I have selected, which is what I would expect it to print.