diff --git a/src/qgraphicsroundtextitem.cpp b/src/qgraphicsroundtextitem.cpp index a8192a7..99beef1 100644 --- a/src/qgraphicsroundtextitem.cpp +++ b/src/qgraphicsroundtextitem.cpp @@ -16,7 +16,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - $Id:$ */ + $Id$ */ #include "qgraphicsroundtextitem.h" #include "qdialogroundtext.h" @@ -287,6 +287,11 @@ void QShapeControllerRoundText::readData( const QString &element, return; } + if( element == "angle" ) { + textItem->setAngle( data.toDouble() ); + return; + } + if( element == "alignment" ) { textItem->setAlignment( Qt::Alignment( data.toInt() ) ); return;