Improve performance of QLibrary::load()
authorSean Harmer <sean.harmer@kdab.com>
Wed, 18 Jul 2012 08:14:41 +0000 (09:14 +0100)
committerQt by Nokia <qt-info@nokia.com>
Sat, 21 Jul 2012 09:26:30 +0000 (11:26 +0200)
commitfa3cc59868488120e8b1bced792b26bbea380966
tree2e3c2d439b966b3027d4d1dd6717ff878f830587
parent33292ab1ae4f12d01c03ab11ad960a9dfb807b92
Improve performance of QLibrary::load()

There is no need to create a QFileInfo object to split the path and
filename.

Change-Id: I54ebb4b62ebdd93a257bce0b337ac0012f0d5a56
Reviewed-by: James Turner <james.turner@kdab.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
src/corelib/plugin/qlibrary_unix.cpp