Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

TemplatesModel: remove broken and unneeded paths addition

Missed a / separator at the end of dataPath, but intention was also
duplicating the addition as done later in the model setup
parent 8ccaf0cc
......@@ -102,10 +102,6 @@ TemplatesModel::TemplatesModel(const QString& typePrefix, QObject* parent)
: QStandardItemModel(parent)
, d(new TemplatesModelPrivate(typePrefix))
{
const QStringList dataPaths = {QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation)};
foreach(const QString& dataPath, dataPaths) {
addDataPath(dataPath);
}
}
TemplatesModel::~TemplatesModel() = default;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment