[Uml-devel] kdesdk/umbrello/umbrello

Laurent Montel montel at kde.org
Tue Jun 22 23:34:07 UTC 2004


CVS commit by mlaurent: 

Minor fix


  M +1 -1      umllistviewitem.cpp   1.45


--- kdesdk/umbrello/umbrello/umllistviewitem.cpp  #1.44:1.45
@@ -291,5 +291,5 @@ void UMLListViewItem::okRename( int col 
         QString newText = text( col );
         UMLDoc * doc = s_pListView -> getDocument();
-        if( newText.length() == 0 ) {
+        if( newText.isEmpty() ) {
                 KMessageBox::error( kapp->mainWidget() ,
                                     i18n("The name you entered was invalid.\nRenaming process has been canceled."),






More information about the umbrello-devel mailing list