Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 3.6.0, Qt Creator 4.3.0-beta1
-
None
-
Qt5.5.1 QtCreator 3.6.0 Ubuntu 14.04 64bit
Description
Here is the problem:
After auto-indentation, I got this:
void function(MovieMetadata* movieMetadata) { auto future = QtConcurrent::map(movieMetadataList, [&](MovieMetadata* movieMetadata){ this->addMovieMetadata_p(movieMetadata); }); }
As you can see, it doesn't look good, the }); should be at least 4 spaces to be in same level with auto. But the best is to be as the following :
void function(MovieMetadata* movieMetadata) { auto future = QtConcurrent::map(movieMetadataList, [&](MovieMetadata* movieMetadata){ this->addMovieMetadata_p(movieMetadata); }); }