diff options
author | Steven Knight <knight@baldmt.com> | 2005-04-02 19:50:33 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-04-02 19:50:33 (GMT) |
commit | 13dcf8c4ebad065d6296e7a3da24b21a1666a974 (patch) | |
tree | 6149e7e01cdfa22db3b3086c4b525526ac84fec2 /src/engine/SCons/Tool/qt.py | |
parent | c378212a5904028315760269a52272a3eb025dca (diff) | |
download | SCons-13dcf8c4ebad065d6296e7a3da24b21a1666a974.zip SCons-13dcf8c4ebad065d6296e7a3da24b21a1666a974.tar.gz SCons-13dcf8c4ebad065d6296e7a3da24b21a1666a974.tar.bz2 |
Remove widespread reliance on SCons.Node.FS.default_fs so we can initialize it once (later than we used to) and eliminate all the __setTopLevelDir() calls.
Diffstat (limited to 'src/engine/SCons/Tool/qt.py')
-rw-r--r-- | src/engine/SCons/Tool/qt.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/engine/SCons/Tool/qt.py b/src/engine/SCons/Tool/qt.py index bc2d41b..04b6215 100644 --- a/src/engine/SCons/Tool/qt.py +++ b/src/engine/SCons/Tool/qt.py @@ -107,7 +107,6 @@ class _Automoc: debug = 0 # some shortcuts used in the scanner - FS = SCons.Node.FS.default_fs splitext = SCons.Util.splitext objBuilder = getattr(env, self.objBuilderName) @@ -147,9 +146,7 @@ class _Automoc: # try to find the header file in the corresponding source # directory hname = splitext(cpp.name)[0] + h_ext - h = find_file(hname, - (cpp.get_dir(),), - FS.File) + h = find_file(hname, (cpp.get_dir(),), env.File) if h: if debug: print "scons: qt: Scanning '%s' (header of '%s')" % (str(h), str(cpp)) |