File firstrun-kde4.diff of Package k3b
Index: src/k3bfirstrun.cpp
===================================================================
--- src/k3bfirstrun.cpp (revision 872486)
+++ src/k3bfirstrun.cpp (working copy)
@@ -25,6 +25,7 @@
#include <qlayout.h>
#include <qlabel.h>
+#include <stdlib.h> // getenv
void K3bFirstRun::run( QWidget* parent )
{
@@ -41,6 +42,10 @@
if( si.allInstalled() )
return;
+ // don't ask about Konqueror/KDE3 integration when running under KDE4
+ if( QString::fromLocal8Bit(getenv("KDE_SESSION_VERSION")) == "4" )
+ return;
+
K3bFirstRun dlg( parent );
if( dlg.exec() == QDialog::Accepted )
si.install( parent );