Use QString::chopped() only for Qt 5.10+
https://github.com/KDE/falkon/pull/6
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>