summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Borodinsky <justin.borodinsky@gmail.com>2015-01-01 14:20:14 -0500
committerBrad King <brad.king@kitware.com>2015-01-11 15:11:18 -0500
commit7c585699304ac071cdf7c1b8d7677d38b859e70f (patch)
tree043248808cdce9af8768ee531c39285385b63849
parentc118816d44e178e4364a0c32aaece81a14511237 (diff)
downloadcmake-7c585699304ac071cdf7c1b8d7677d38b859e70f.tar.gz
QtAutoUic: Restore source file AUTOUIC_OPTIONS settings
The "." in the extension was dropped by commit v3.1.0-rc1~556^2~2 (cmSourceFile: Cache the isUiFile check, 2014-02-08) by mistake. This caused the options to not be set.
-rw-r--r--Source/cmSourceFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index b833d3fd4b..12eb4115bd 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -24,7 +24,7 @@ cmSourceFile::cmSourceFile(cmMakefile* mf, const std::string& name):
this->CustomCommand = 0;
this->Properties.SetCMakeInstance(mf->GetCMakeInstance());
this->FindFullPathFailed = false;
- this->IsUiFile = ("ui" ==
+ this->IsUiFile = (".ui" ==
cmSystemTools::GetFilenameLastExtension(this->Location.GetName()));
}