Explorar o código

Always use brackets for if statements.

Sascha Zelzer %!s(int64=11) %!d(string=hai) anos
pai
achega
de3490e686
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Libs/XNAT/Core/ctkXnatObject.cpp

+ 2 - 0
Libs/XNAT/Core/ctkXnatObject.cpp

@@ -126,7 +126,9 @@ QDateTime ctkXnatObject::lastModifiedTime()
     QString dateText = lastModifiedHeader.toString();
     // Remove "GMT" addition at the end of the http timestamp
     if (dateText.indexOf("GMT") != -1)
+    {
       dateText = dateText.left(dateText.length()-4);
+    }
 
     foreach (QString format, dateformates)
     {