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

List:       kde-commits
Subject:    kdelibs/kdeui
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-07-20 21:38:50
[Download RAW message or body]

CVS commit by waba: 

Only refer to http://bugs.kde.org if bug-address is submit@bugs.kde.org


  M +2 -38     kbugreport.cpp   1.80


--- kdelibs/kdeui/kbugreport.cpp  #1.79:1.80
@@ -133,5 +133,5 @@ KBugReport::KBugReport( QWidget * parent
     setButtonOKText(i18n("&Send"),
                     i18n("Send bug report."),
-                    i18n("Send this bug report to the KDE buglist."));
+                    i18n("Send this bug report to %1.").arg(m_aboutData->bugAddress()));
 
   }
@@ -232,20 +232,6 @@ KBugReport::KBugReport( QWidget * parent
                         "bug report.\n"
                         "If you press \"Send\", a mail message will be sent to the maintainer of "
-                        "this program \n"
-                        "and to the KDE buglist.");
-    QLabel * label = new QLabel( parent, "label" );
-
-    /*
-      2000-01-15 Espen
-      Does not work (yet). The label has no well defined height so the
-      dialog can be resized so that the action buttons become obscured
-
-      QString text = i18n(""
-      "Enter the text (in English if possible) that you wish to submit for the "
-      "bug report. If you press \"Send\", a mail message will be sent to the "
-      "maintainer of this program and to the KDE buglist.");
+                        "this program.\n");
       QLabel * label = new QLabel( parent, "label" );
-      label->setTextFormat( RichText );
-    */
 
     label->setText( text );
@@ -257,26 +243,4 @@ KBugReport::KBugReport( QWidget * parent
     m_lineedit->setWordWrap(QMultiLineEdit::WidgetWidth);
     lay->addWidget( m_lineedit, 10 /*stretch*/ );
-
-
-    hlay = new QHBoxLayout( lay, 0 );
-
-    text = i18n("Please check that the bug you are about to report is not already listed at ");
-    label = new QLabel( text, parent, "label");
-    hlay->addWidget( label, 0, AlignBottom );
-    hlay->addSpacing(1); // Looks better :)
-
-    text = "http://bugs.kde.org/";
-    KURLLabel *url = new KURLLabel( parent );
-    url->setText(text);
-    url->setURL(text);
-    connect( url, SIGNAL(leftClickedURL(const QString &)),
-             this, SLOT(slotUrlClicked(const QString &)));
-    hlay->addWidget( url, 0, AlignBottom );
-
-    hlay->addStretch( 10 );
-
-    // Necessary for vertical label and url alignment.
-    label->setFixedHeight( fontMetrics().lineSpacing() );
-    url->setFixedHeight( fontMetrics().lineSpacing());
 
     slotSetFrom();


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

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