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

List:       kde-commits
Subject:    KDE/kdebase/runtime/drkonqi
From:       Dirk Mueller <mueller () kde ! org>
Date:       2008-04-10 17:46:00
Message-ID: 1207849560.658987.22505.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 795545 by mueller:

don't list the details checkbox if there are no details
to list. clicking on it just crashes then, and nothings
worse than a drkonqi that crashes 


 M  +4 -4      toplevel.cpp  


--- trunk/KDE/kdebase/runtime/drkonqi/toplevel.cpp #795544:795545
@@ -83,12 +83,12 @@
   info->setStyleSheet(styleSheet);
   mainLayout->addWidget(info);
 
-  QCheckBox *detailsCheckBox = new QCheckBox(i18n("Show details"), this);
-  connect(detailsCheckBox, SIGNAL(toggled(bool)), SLOT(expandDetails(bool)));
-  mainLayout->addWidget(detailsCheckBox);
-
   if (m_krashconf->showBacktrace())
   {
+    QCheckBox *detailsCheckBox = new QCheckBox(i18n("Show details"), this);
+    connect(detailsCheckBox, SIGNAL(toggled(bool)), SLOT(expandDetails(bool)));
+    mainLayout->addWidget(detailsCheckBox);
+
     m_detailDescriptionLabel = new QLabel(this);
     m_detailDescriptionLabel->setText(i18n("Please attach the following information \
to your bug report:"));  m_detailDescriptionLabel->setWordWrap(true);


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

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