From: Frederik Gladhorn Date: Thu, 3 Jan 2008 14:09:28 +0000 (+0000) Subject: Use the document title for the root lesson. X-Git-Tag: v4.0.71~93^2~4 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=97af421eba561653b6e355bf81fd66bdd0f58abe;p=libqmvoc.git Use the document title for the root lesson. Do not allow editing/dnd for the root element in a container model. svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=756644 --- diff --git a/keduvocdocument/keduvocdocument.cpp b/keduvocdocument/keduvocdocument.cpp index a9d877e..c94fa22 100644 --- a/keduvocdocument/keduvocdocument.cpp +++ b/keduvocdocument/keduvocdocument.cpp @@ -756,6 +756,7 @@ QString KEduVocDocument::title() const void KEduVocDocument::setTitle( const QString & title ) { d->m_title = title; + d->m_lessonContainer->setName(title); }