adapt to Package merge changes

This commit is contained in:
Aaron Seigo 2011-07-15 13:03:22 +02:00
parent 89320201ec
commit 889c9e7bd3

View File

@ -94,8 +94,8 @@ PlasmoidService::PlasmoidService(Applet *applet)
{
setName("plasmoidservice");
if (applet->package() && !applet->package()->isValid()) {
const QString root = applet->package()->path();
if (applet->package().isValid()) {
const QString root = applet->package().path();
m_metadata = root + "metadata.desktop";
m_tempFile.open();