I wrote this funtion:
Qt Code:
  1. void GenerateInvoiceDialog::on_saveandPrintpushButton_cliked(){
  2. QString s = QFileDialog::getSaveFileName(
  3. this,
  4. "Choose a filename to save under",
  5. "/home",
  6. "Images (*.html)");
  7. }
To copy to clipboard, switch view to plain text mode 

unfortunately nothing happens when I click on my saveandPrintpushButton. Isn't that supposed to start a file dialog? Thanx in advance

Patcito