mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
plasma: minor Plasma::PlasmoidService constructor optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a6ad214588
commit
913bc263e7
1 changed files with 1 additions and 2 deletions
|
@ -64,8 +64,7 @@ PlasmoidService::PlasmoidService(const QString &packageLocation)
|
||||||
{
|
{
|
||||||
setName("plasmoidservice");
|
setName("plasmoidservice");
|
||||||
|
|
||||||
QString location;
|
QString location(packageLocation);
|
||||||
location = packageLocation;
|
|
||||||
if (!location.endsWith('/')) {
|
if (!location.endsWith('/')) {
|
||||||
location.append('/');
|
location.append('/');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue