File dialog manual test: Remove dot from default suffix.

Change-Id: Icadfd2103bb89b5f9ea167737d9e6af05d7a6b86
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
This commit is contained in:
Friedemann Kleint 2013-04-23 13:50:01 +02:00 committed by The Qt Project
parent a7dc708eb5
commit a961204d28

View File

@ -385,7 +385,7 @@ void FileDialogPanel::restoreDefaults()
m_readOnly->setChecked(d.isReadOnly()); m_readOnly->setChecked(d.isReadOnly());
m_native->setChecked(true); m_native->setChecked(true);
m_directory->setText(QDir::homePath()); m_directory->setText(QDir::homePath());
m_defaultSuffix->setText(QLatin1String(".txt")); m_defaultSuffix->setText(QLatin1String("txt"));
m_nameFilters->setPlainText(QLatin1String("Any files (*)\nImage files (*.png *.xpm *.jpg)\nText files (*.txt)")); m_nameFilters->setPlainText(QLatin1String("Any files (*)\nImage files (*.png *.xpm *.jpg)\nText files (*.txt)"));
m_selectedFileName->setText(QString()); m_selectedFileName->setText(QString());
m_selectedNameFilter->setText(QString()); m_selectedNameFilter->setText(QString());