--- a/src/format.h Thu Jan 11 11:41:40 2018 +0200 +++ b/src/format.h Thu Jan 11 15:09:44 2018 +0200 @@ -162,6 +162,12 @@ } +inline QString toString(const QSize& size) +{ + return toString(size.width()) + " × " + toString(size.height()); +} + + /* * Formats the message with the given args using QString::arg(). */