]> Git trees. - libqmvoc.git/commitdiff
Use the document title for the root lesson.
authorFrederik Gladhorn <gladhorn@kde.org>
Thu, 3 Jan 2008 14:09:28 +0000 (14:09 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Thu, 3 Jan 2008 14:09:28 +0000 (14:09 +0000)
Do not allow editing/dnd for the root element in a container model.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=756644

keduvocdocument/keduvocdocument.cpp

index a9d877ef424c278931aa913937307b04c16ea4f2..c94fa22c90c35fe26c9f2903c114859f8d16ade4 100644 (file)
@@ -756,6 +756,7 @@ QString KEduVocDocument::title() const
 void KEduVocDocument::setTitle( const QString & title )
 {
     d->m_title = title;
+    d->m_lessonContainer->setName(title);
 }