[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: A note to exceptions && some notes to codesize
From: Bernd Gehrmann <bernd () physik ! hu-berlin ! de>
Date: 1999-06-07 20:34:02
[Download RAW message or body]
On Mon, 07 Jun 1999 Mario Weilguni wrote:
>Instead of:
> QString aArgv0 = argv[0];
> int nSlashPos = aArgv0.findRev( '/' );
> if( nSlashPos != -1 )
> aAppName = aArgv0.remove( 0, nSlashPos+1 );
> else
> aAppName = aArgv0;
>...
>You don't think this is a good idea?
I think an even better idea would be to remove this code completely ;-)
The application name is available via QApplication::name(), so aAppName
is redundant, isn't it?
>Probably I'll find more stuff like this the next days.
It's nice to see that someone actually does this kind of 'dirty work'.
Bernd
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic