[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kppp
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2007-11-25 18:46:17
Message-ID: 1196016377.648252.4354.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 741484 by krake:

Calling hide() on the debug dialog window causes a hide event to be sent,
but the dialog's hideEvent() implementation asserts on the global pointer
of the main widget.
Since a newly created dialog isn't shown anyway, just get rid of the
unncesssary hide() call



 M  +2 -3      kpppwidget.cpp  


--- trunk/KDE/kdenetwork/kppp/kpppwidget.cpp #741483:741484
@@ -270,7 +270,6 @@
   debugwindow = new DebugWidget(0);
   debugwindow->setObjectName( "debugwindow" );
   KWindowSystem::setIcons(debugwindow->winId(), \
qApp->windowIcon().pixmap(IconSize(KIconLoader::Desktop),IconSize(KIconLoader::Desktop)), \
qApp->windowIcon().pixmap(IconSize(KIconLoader::Small),IconSize(KIconLoader::Small)));
                
-  debugwindow->hide();
 
   // load up the accounts combo box
 
@@ -1085,10 +1084,10 @@
     cb->setFixedSize(cb->sizeHint());
 
     dlg.setButtons(Ok)
-  
+
     l2->addWidget(l);
     l2->addWidget(cb);
-  
+
     QString tmp = i18n("This is an example of <b>QuickHelp</b>.\n"
 		       "This window will stay open until you\n"
 		       "click a mouse button or a press a key.\n");


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic