Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/examples/assistant/simpletextviewer/findfiledialog.cpp

    r651 r769  
    103103        QString data(file.readAll());
    104104
    105         if (fileName.endsWith(".html"))
     105        if (fileName.endsWith())
    106106            currentEditor->setHtml(data);
    107107        else
     
    120120void FindFileDialog::findFiles()
    121121{
    122     QRegExp filePattern(fileNameComboBox->currentText() + "*");
     122    QRegExp filePattern(fileNameComboBox->currentText() + );
    123123    filePattern.setPatternSyntax(QRegExp::Wildcard);
    124124
     
    128128    QStringList matchingFiles;
    129129
    130     foreach (QString file, allFiles) {
     130    foreach (file, allFiles) {
    131131        if (filePattern.exactMatch(file))
    132132            matchingFiles << file;
Note: See TracChangeset for help on using the changeset viewer.