Commit 7e7d2a17 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to use a virtual method

parent 714466fb
...@@ -356,7 +356,7 @@ QStringList AbstractImportExportJob::restoreResourceFile(const QString &resource ...@@ -356,7 +356,7 @@ QStringList AbstractImportExportJob::restoreResourceFile(const QString &resource
QString newUrl; QString newUrl;
if (overwriteResources) { if (overwriteResources) {
//TODO fix me too //TODO fix me too
newUrl = converter.ResourceConverterBase::resourcePath(resourceConfig); newUrl = converter.resourcePath(resourceConfig);
} else { } else {
newUrl = converter.adaptResourcePath(resourceConfig, storePath); newUrl = converter.adaptResourcePath(resourceConfig, storePath);
} }
......
...@@ -36,7 +36,7 @@ public: ...@@ -36,7 +36,7 @@ public:
void convertCollectionIdsToRealPath(KConfigGroup &group, const QString &currentKey, const QString &prefixCollection = QString()); void convertCollectionIdsToRealPath(KConfigGroup &group, const QString &currentKey, const QString &prefixCollection = QString());
Q_REQUIRED_RESULT QString resourcePath(const QString &agentIdentifier, const QString &defaultPath = QString()); Q_REQUIRED_RESULT QString resourcePath(const QString &agentIdentifier, const QString &defaultPath = QString());
Q_REQUIRED_RESULT QString adaptResourcePath(const KSharedConfigPtr &resourceConfig, const QString &storedData); Q_REQUIRED_RESULT QString adaptResourcePath(const KSharedConfigPtr &resourceConfig, const QString &storedData);
virtual Q_REQUIRED_RESULT QString resourcePath(const KSharedConfigPtr &resourceConfig, const QString &defaultPath = QString()); Q_REQUIRED_RESULT QString resourcePath(const KSharedConfigPtr &resourceConfig, const QString &defaultPath = QString());
virtual Q_REQUIRED_RESULT QString changeResourcePath(QString url) const; virtual Q_REQUIRED_RESULT QString changeResourcePath(QString url) const;
virtual Q_REQUIRED_RESULT QString convertToFullCollectionPath(const qlonglong collectionValue) = 0; virtual Q_REQUIRED_RESULT QString convertToFullCollectionPath(const qlonglong collectionValue) = 0;
......
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