Remove MacFSListener
It's no longer needed. This code dates back to before Qt had a FSEvents-based filesystem listener.
This commit is contained in:
@@ -25,22 +25,14 @@
|
||||
#include "filesystemwatcherinterface.h"
|
||||
#include "qtfslistener.h"
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
# include "macfslistener.h"
|
||||
#endif
|
||||
|
||||
FileSystemWatcherInterface::FileSystemWatcherInterface(QObject *parent)
|
||||
: QObject(parent) {}
|
||||
|
||||
FileSystemWatcherInterface *FileSystemWatcherInterface::Create(QObject *parent) {
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
FileSystemWatcherInterface *ret = new MacFSListener(parent);
|
||||
#else
|
||||
FileSystemWatcherInterface *ret = new QtFSListener(parent);
|
||||
#endif
|
||||
FileSystemWatcherInterface *listener = new QtFSListener(parent);
|
||||
listener->Init();
|
||||
|
||||
ret->Init();
|
||||
return ret;
|
||||
return listener;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user