QtQuick example: improve the logic when closing the current buffer
QtQuick example: improve the logic when closing the current buffer

communi/libcommuni,jpnurmi/libcommuni,communi/libcommuni,jpnurmi/libcommuni