浏览代码

Fix style.

Stephen Kelly 14 年之前
父节点
当前提交
bafe5cc6e9
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Source/cmQtAutomoc.cxx

+ 3 - 2
Source/cmQtAutomoc.cxx

@@ -53,7 +53,7 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
   std::string qtMajorVersion = makefile->GetSafeDefinition("QT_VERSION_MAJOR");
   std::string qtMajorVersion = makefile->GetSafeDefinition("QT_VERSION_MAJOR");
   if (qtMajorVersion == "")
   if (qtMajorVersion == "")
     {
     {
-      qtMajorVersion = makefile->GetSafeDefinition("Qt5SrcTools_VERSION_MAJOR");
+    qtMajorVersion = makefile->GetSafeDefinition("Qt5SrcTools_VERSION_MAJOR");
     }
     }
   if (qtMajorVersion != "4" && qtMajorVersion != "5")
   if (qtMajorVersion != "4" && qtMajorVersion != "5")
     {
     {
@@ -221,7 +221,8 @@ bool cmQtAutomoc::ReadAutomocInfoFile(cmMakefile* makefile,
   this->QtMajorVersion = makefile->GetSafeDefinition("AM_QT_VERSION_MAJOR");
   this->QtMajorVersion = makefile->GetSafeDefinition("AM_QT_VERSION_MAJOR");
   if (this->QtMajorVersion == "")
   if (this->QtMajorVersion == "")
     {
     {
-    this->QtMajorVersion = makefile->GetSafeDefinition("AM_Qt5SrcTools_VERSION_MAJOR");
+    this->QtMajorVersion = makefile->GetSafeDefinition(
+                                     "AM_Qt5SrcTools_VERSION_MAJOR");
     }
     }
   this->Sources = makefile->GetSafeDefinition("AM_SOURCES");
   this->Sources = makefile->GetSafeDefinition("AM_SOURCES");
   this->Headers = makefile->GetSafeDefinition("AM_HEADERS");
   this->Headers = makefile->GetSafeDefinition("AM_HEADERS");