Fixed cppcheck warnings in QomposeApplication.
Fixed cppcheck warnings in QomposeBufferWidget.
Fixed a cppcheck warning in our unit tests.