[email protected] wrote:
> My last patch introduced window state saving and restoring. It also
> introduced two unwanted messages in the debug output that I didn't
> notice before:
> 
> QMainWindow::saveState(): 'objectName' not set for QToolBar 'Main Toolbar'
> QMainWindow::saveState(): 'objectName' not set for QToolBar 'Sampling Bar'

Thanks for fixing that!


> As this change is so minor, I also added device selection persistence.

I think that should be a separate commit.


> The device title is the only method of identification available, so I'm
> using it here despite its non-uniqueness when using multiple devices of
> the same kind.

I don't think that's a very convincing solution. How about storing a
truly unique identifier for each device instead?

Also - what if I move my device to another USB port. If my device has
a serial number I would like PV to still open the correct device,
even though it's now on a different port.


//Peter

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to