[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:       Stephan Kulow <coolo () alpha ! tat ! physik ! uni-tuebingen ! de>
Date:       1999-06-07 21:59:16
[Download RAW message or body]

Bernd Gehrmann wrote:
> 
> 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?
> 
Hmm, I can't see this function. Neither in source or documentation. 

Greetings, Stephan

-- 
Und sie nannten ihn, wie er selbst unterschrieb -
Den Trojanischen Pferdedieb

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

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