install the example in the proper place
This commit is contained in:
parent
e272c31300
commit
3184551ddb
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user