svn path=/trunk/KDE/kdelibs/; revision=1182545
This commit is contained in:
Aaron J. Seigo 2010-10-04 21:48:06 +00:00
parent 47a41796cc
commit 4eafdd6b27
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@ public:
void associatedGraphicsWidgetDestroyed(QObject *obj);
void publish(AnnouncementMethods methods, const QString &name,
PackageMetadata metadata = PackageMetadata());
const PackageMetadata &metadata = PackageMetadata());
void unpublish();

View File

@ -95,7 +95,7 @@ void ServicePrivate::associatedGraphicsWidgetDestroyed(QObject *obj)
associatedGraphicsWidgets.remove(static_cast<QGraphicsWidget*>(obj));
}
void ServicePrivate::publish(AnnouncementMethods methods, const QString &name, PackageMetadata metadata)
void ServicePrivate::publish(AnnouncementMethods methods, const QString &name, const PackageMetadata &metadata)
{
#ifdef ENABLE_REMOTE_WIDGETS
if (!serviceProvider) {