Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-11493

open QFileDialog resets window title of calling dialog window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 4.6.3
    • None
    • Arch-Linux, Qt 4.6.3, QtCreator 1.3.1

    Description

      Usualy I leave the main window title as it is. After application startup I set the title to some string like so

      // ...
      ui->setupUi(this);
      this->setWindowTitle("some useless window title");
      // ...
      

      Now I have a button or menu with the triggered oder click action opens a QFileDialog:

      QString filename = QFileDialog::getOpenFileName(this, tr("Open file"));
      

      At the moment this happens, the title of the mainwindow is resetted to its default value!
      Is this a bug?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            tfl Torsten Flammiger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes