[Kst] Re: branches/work/kst/portto4/kst/src/libkstapp

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Tue Sep 28 08:06:43 CEST 2010


> But the old code looked like this:
> 
> void MainWindow::setLayoutMode(bool layoutMode) {
>   View *v = tabWidget()->currentView();
>   Q_ASSERT(v);
> 
>   if (layoutMode) {
>     v->setViewMode(View::Layout);
>   } else {
>     v->setViewMode(View::Data);
>   }
> 
> 
> 
> So I think not seeing the jumping point in non-layout mode is a bug.
Well, what I wrote yesterday was the user perspective, I hadn't looked at that part of the code. It may be that the code is not clear, but I can assure you that as a user you don't always want to have that point jumping all around. 
If the code is not clear, we have to fix the code - not the behaviour of the program, especially when it was right :-) I'll have a look at it and try to make it as it should be, I guess that'll help you understand the intention. You can also call me if you prefer a direct explanation.

Gruß,

Nicolas


Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt

CONFIDENTIALITY NOTICE 

This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. 
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. 
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message. 



More information about the Kst mailing list