Ehh... things.

This commit is contained in:
Petr Mrázek 2013-08-26 04:57:09 +02:00
parent 7686741ef9
commit 392c58c4b0
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ project(libUtil)
IF(APPLE)
# assume clang 4.1.0+, add C++0x/C++11 stuff
message(STATUS "Using APPLE CMAKE_CXX_FLAGS")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -stdlib=libc++")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
ELSEIF(UNIX)
# assume GCC, add C++0x/C++11 stuff
MESSAGE(STATUS "Using UNIX CMAKE_CXX_FLAGS")

View File

@ -100,7 +100,7 @@ void InstanceList::saveGroupList()
}
toplevel.insert("groups",groupsArr);
QJsonDocument doc(toplevel);
groupFile.write(doc.toJson(QJsonDocument::Indented));
groupFile.write(doc.toJson());
groupFile.close();
}