Ignore:
Timestamp:
Dec 13, 2014, 9:04:10 AM (8 years ago)
Author:
mikedld
Message:

Strip needless const& specifiers on SIGNAL and SLOT arguments (Qt client)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/make-dialog.cc

    r14377 r14380  
    178178  d->setFileMode (QFileDialog::ExistingFile);
    179179  d->setAttribute (Qt::WA_DeleteOnClose);
    180   connect (d, SIGNAL(filesSelected(const QStringList&)),
    181            this, SLOT(onFileSelected(const QStringList&)));
     180  connect (d, SIGNAL(filesSelected(QStringList)),
     181           this, SLOT(onFileSelected(QStringList)));
    182182  d->show ();
    183183}
     
    203203  d->setOption (QFileDialog::ShowDirsOnly);
    204204  d->setAttribute (Qt::WA_DeleteOnClose);
    205   connect (d, SIGNAL(filesSelected(const QStringList&)),
    206            this, SLOT(onFolderSelected(const QStringList&)));
     205  connect (d, SIGNAL(filesSelected(QStringList)),
     206           this, SLOT(onFolderSelected(QStringList)));
    207207  d->show ();
    208208}
     
    230230  d->setOption (QFileDialog::ShowDirsOnly);
    231231  d->setAttribute (Qt::WA_DeleteOnClose);
    232   connect (d, SIGNAL(filesSelected(const QStringList&)),
    233            this, SLOT(onDestinationSelected(const QStringList&)));
     232  connect (d, SIGNAL(filesSelected(QStringList)),
     233           this, SLOT(onDestinationSelected(QStringList)));
    234234  d->show ();
    235235}
Note: See TracChangeset for help on using the changeset viewer.