[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/kbugbuster/gui
From: Frerich Raabe <raabe () kde ! org>
Date: 2003-09-03 6:08:17
[Download RAW message or body]
CVS commit by raabe:
- Use KRun for opening URLs
- const fix for CWBugDetails::source()
M +3 -3 cwbugdetails.cpp 1.22
M +1 -1 cwbugdetails.h 1.7
--- kdesdk/kbugbuster/gui/cwbugdetails.cpp #1.21:1.22
@@ -27,7 +27,7 @@
#include <khtml_part.h>
#include <khtmlview.h>
-#include <kapplication.h>
#include <kdebug.h>
#include <kglobal.h>
+#include <krun.h>
#include <qlayout.h>
@@ -180,5 +180,5 @@ void CWBugDetails::setBug( const Bug &bu
void CWBugDetails::handleOpenURLRequest( const KURL &url, const KParts::URLArgs & )
{
- kapp->invokeBrowser( url.url() );
+ new KRun( url );
}
@@ -194,5 +194,5 @@ QString CWBugDetails::textBugDetailsAttr
}
-QString CWBugDetails::source()
+QString CWBugDetails::source() const
{
return mSource;
--- kdesdk/kbugbuster/gui/cwbugdetails.h #1.6:1.7
@@ -43,5 +43,5 @@ class CWBugDetails : public QWidget
void setBug( const Bug &, const BugDetails & );
- QString source();
+ QString source() const;
private slots:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic