]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/file.cpp
Separate event-related stuff from Base
[libs/core.git] / source / io / file.cpp
index 25e3b4af115855a6b332e99ebcf947599590cbc8..c9e5d4978c5255e418c12d7794146e2d062f0667 100644 (file)
@@ -82,8 +82,6 @@ File::File(const string &fn, Mode m, CreateMode cm)
                        throw system_error(format("open(%s)", fn), err);
        }
 #endif
-
-       set_events(P_INPUT);
 }
 
 File::~File()
@@ -96,8 +94,6 @@ void File::close()
        if(!handle)
                return;
 
-       set_events(P_NONE);
-
        signal_flush_required.emit();
 
 #ifdef WIN32