forked from qt-creator/qt-creator
		
	QmlDesigner: Modernize
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using modernize-use-default-member-init modernize-use-equals-default Change-Id: Ic42b5c59fed5a4a01853138542d8156471e86f58 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
		| @@ -36,7 +36,7 @@ | ||||
| namespace QmlDesigner { | ||||
|  | ||||
| // using cache as a container which deletes sharedmemory pointers at process exit | ||||
| typedef QCache<qint32, SharedMemory> GlobalSharedMemoryContainer; | ||||
| using GlobalSharedMemoryContainer = QCache<qint32, SharedMemory>; | ||||
| Q_GLOBAL_STATIC_WITH_ARGS(GlobalSharedMemoryContainer, globalSharedMemoryContainer, (10000)) | ||||
|  | ||||
| ValuesChangedCommand::ValuesChangedCommand() | ||||
| @@ -88,7 +88,7 @@ static SharedMemory *createSharedMemory(qint32 key, int byteCount) | ||||
|         delete sharedMemory; | ||||
|     } | ||||
|  | ||||
|     return 0; | ||||
|     return nullptr; | ||||
| } | ||||
|  | ||||
| QDataStream &operator<<(QDataStream &out, const ValuesChangedCommand &command) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user