install the example in the proper place

This commit is contained in:
Marco Martin 2013-12-24 16:58:47 +01:00
parent e272c31300
commit 3184551ddb
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
plasma_install_package(config org.kde.example.configuration)
plasma_install_package(config org.kde.example.dataenginemodel)
plasma_install_package(dataenginemodel org.kde.example.dataenginemodel)
plasma_install_package(notes org.kde.example.notes)
plasma_install_package(widgetgallery org.kde.example.widgetgallery)
plasma_install_package(qmltasks org.kde.example.tasks)

View File

@ -10,7 +10,7 @@ X-KDE-PluginInfo-Author=Marco Martin
X-KDE-PluginInfo-Category=Miscellaneous
X-KDE-PluginInfo-Email=mart@kde.org
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-Name=org.kde.examples.dataenginemodel
X-KDE-PluginInfo-Name=org.kde.example.dataenginemodel
X-KDE-PluginInfo-Version=
X-KDE-PluginInfo-Website=
X-KDE-ServiceTypes=Plasma/Applet

View File

@ -160,6 +160,7 @@ void DataSource::modelChanged(const QString &sourceName, QAbstractItemModel *mod
void DataSource::removeSource(const QString &source)
{
m_data.remove(source);
m_models->clear(source);
//TODO: emit those signals as last thing
if (m_connectedSources.contains(source)) {