[Uml-devel] [Bug 112567] Umbrello crashes on startup

Oliver Kellogg okellogg at users.sourceforge.net
Tue Sep 20 21:46:37 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=112567         
okellogg users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From okellogg users sourceforge net  2005-09-21 06:44 -------
SVN commit 462434 by okellogg:

BUG:112567 - loadPixmaps(): Fix computation of n_buttonInfos.

 M  +1 -2      worktoolbar.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/worktoolbar.cpp #462433:462434
 @ -288,8 +288,7  @
     KStandardDirs * dirs = KGlobal::dirs();
     QString dataDir = dirs->findResourceDir( "data", "umbrello/pics/object.png" );
     dataDir += "/umbrello/pics/";
-    const size_t n_buttonInfos = sizeof(buttonInfo) /
-                                 (sizeof(ToolBar_Buttons) + sizeof(QString) + sizeof(char*));
+    const size_t n_buttonInfos = sizeof(buttonInfo) / sizeof(ButtonInfo);
 
     m_ToolButtons.insert(tbb_Undefined,
                          ToolButton(i18n("UNDEFINED"),




More information about the umbrello-devel mailing list