Changeset 14380 for trunk/qt/watchdir.cc


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/watchdir.cc

    r14377 r14380  
    9090      myWatcher = new QFileSystemWatcher ();
    9191      myWatcher->addPath( path );
    92       connect (myWatcher, SIGNAL(directoryChanged(const QString&)),
    93                this, SLOT(watcherActivated(const QString&)));
     92      connect (myWatcher, SIGNAL(directoryChanged(QString)),
     93               this, SLOT(watcherActivated(QString)));
    9494      //std::cerr << "watching " << qPrintable(path) << " for new .torrent files" << std::endl;
    9595      QTimer::singleShot (0, this, SLOT (rescanAllWatchedDirectories ())); // trigger the watchdir for .torrent files in there already
Note: See TracChangeset for help on using the changeset viewer.