QStandardPaths::enableTestMode -> setTestModeEnabled
The former is deprecated.
Differential Revision: https://phabricator.kde.org/D4337