[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Latest CVS opening 2 windows on konqueror startup?
From: Daniel Karlsson <chaotica () home ! se>
Date: 2001-07-11 19:02:03
[Download RAW message or body]
On Wednesday 11 July 2001 19:19, David Faure wrote:
> Can you try replacing kapp->quit() with ::exit(0) ?
>
> This should fix the problem.
I did, it does. :)
If I understand this correctly, there should be no need to exec() at all
then? Just doIt() and be done with it, like so:
--- kfmclient.cc 2001/07/10 11:18:41 1.76
+++ kfmclient.cc 2001/07/11 18:11:49
@@ -239,8 +239,6 @@ bool clientApp::openProfile( const QStri
kdError() << "Couldn't start konqueror from konqueror.desktop: "
<< error << endl;
return false;
}
-
- exec();
}
return true;
@@ -270,7 +268,6 @@ void clientApp::slotAppRegistered( const
data.addPid( 0 ); // say there's another process for this ASN
with unknown PID
data.setHostname(); // ( no need to bother to get this konqy's
PID )
KStartupInfo::sendChange( id, data );
- kapp->quit();
}
}
--
Daniel Karlsson <chaotica@home.se>
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic