D13092: make sure paths in rcc are never derived from absolute paths

Aleix Pol Gonzalez noreply at phabricator.kde.org
Thu May 24 11:26:09 UTC 2018


apol added a comment.


  Don't we have to make sure path is relative to the package root?

INLINE COMMENTS

> package.cpp:554
> +            //we need just the plugin name here, never the absolute path
> +            dir = QDir(QStringLiteral(":/") + defaultPackageRoot() + path.mid(path.lastIndexOf(QLatin1Char('/'))));
>          }

Use midRef

REPOSITORY
  R290 KPackage

REVISION DETAIL
  https://phabricator.kde.org/D13092

To: mart, #plasma
Cc: apol, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180524/6992a5cc/attachment.html>


More information about the Kde-frameworks-devel mailing list