D28978: [PluginLoader] Replace one usage of QRegExp with QString::startsWith()

Ahmad Samir noreply at phabricator.kde.org
Sun Apr 19 13:45:56 BST 2020


ahmadsamir created this revision.
ahmadsamir added reviewers: Plasma, apol.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
ahmadsamir requested review of this revision.

REVISION SUMMARY
  AFAICS, from grep'ing for "DropUrlPatterns" in /usr/share/{kservices5,plasma/plasmoids/}
  "urlPatterns" is either run:/ or trash:/, hence startsWith() should suffice.

TEST PLAN
  make && ctest

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  l-QRE (branched from master)

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

AFFECTED FILES
  src/plasma/pluginloader.cpp

To: ahmadsamir, #plasma, apol
Cc: kde-frameworks-devel, plasma-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200419/1eded4fc/attachment.html>


More information about the Plasma-devel mailing list