[Uml-devel] KDE/kdesdk/umbrello/umbrello/dialogs
Oliver Kellogg
oliver.kellogg at t-online.de
Tue Jul 10 18:31:56 UTC 2012
Hi Ralf,
Thanks for your bug fixes.
Will you update the ChangeLog in trunk?
(I guess it's already too late to update the ChangeLog on the KDE 4.9 release branch)
Regards,
Oliver
----- Original message -----
> From: Ralf Habacker <ralf.habacker at gmail.com>
> To: kde-commits at kde.org
> Cc: umbrello-devel at kde.org
> Subject: [Uml-devel] KDE/kdesdk/umbrello/umbrello/dialogs
> Date: Tue, 10 Jul 2012 20:15:36 +0200
> SVN commit 1305113 by habacker:
>
> Sort operation list in sequence diagrams.
>
> BUG: 303263
>
> M +6 -0 selectopdlg.cpp
>
>
> --- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/selectopdlg.cpp
> #1305112:1305113 @@ -31,6 +31,11 @@
> #include <QtGui/QRadioButton>
> #include <QtGui/QGroupBox>
>
> +bool caseInsensitiveLessThan(const UMLOperation *s1, const
> UMLOperation *s2) +{
> + return s1->name().toLower() < s2->name().toLower();
> +}
> +
> SelectOpDlg::SelectOpDlg(QWidget * parent, UMLClassifier * c)
> : KDialog(parent)
> {
> @@ -73,6 +78,7 @@
> mainLayout->addWidget(m_pOpLE, 2, 1);
>
> UMLOperationList list = c->getOpList(true);
> + qSort(list.begin(), list.end(), caseInsensitiveLessThan);
> foreach (UMLOperation* obj, list ) {
> insertOperation( obj->toString(Uml::SignatureType::SigNoVis),
> list.count() ); }
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond.
> Discussions will include endpoint security, mobile security and the
> latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Uml-devel mailing list
> umbrello-devel at kde.org
> https://mail.kde.org/mailman/listinfo/umbrello-devel
>
>
More information about the umbrello-devel
mailing list