[Kst] kdeextragear-2/kst/kst
    George Staikos 
    staikos at kde.org
       
    Mon Jun 28 02:30:40 CEST 2004
    
    
  
Every single check for KstApp::inst() or ::inst being null is redundant and 
unneeded.  If KstApp::inst is null, then the first assertion must fail and 
the app never could even start.  It's just wasted cycles and unnecessary 
branches.  See kst.cpp:
KstApp::KstApp(QWidget *parent, const char *name)
: KMdiMainFrm(parent, name) {
  assert(!::inst);
  ::inst = this;
On June 25, 2004 15:54, Andrew Walker wrote:
> CVS commit by arwalker:
>
> Fixed several actual and potential crashes.
>
-- 
George Staikos
KDE Developer			http://www.kde.org/
Staikos Computing Services Inc.	http://www.staikos.net/
    
    
More information about the Kst
mailing list