Vadim Zeitlin
101509eb4b
Simplify platform differences handling in the preferences sample
...
Use an alternative and arguably simpler (at least with real-life
applications, where settings are somewhat more complex) way of handling
the differences between platforms in the preferences sample: instead of
executing completely different code under different platforms, always
update the local copy of the settings immediately and just propagate, or
not, it to the application-level settings depending on the current
platform.
This costs an extra copy of the settings object on each change, but this
shouldn't be a problem in practice, and OTOH results in using mostly the
same code under all platforms, reducing the probability of
platform-specific bugs and avoiding any code duplication between the
event handlers and TransferDataFromWindow().
2017-07-11 23:46:27 +02:00
..
2017-01-04 12:01:14 +01:00
2017-03-20 23:32:52 +01:00
2017-01-04 12:01:14 +01:00
2017-04-01 15:48:53 +02:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-03-20 23:32:52 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-02-20 17:53:04 +01:00
2017-04-07 18:45:39 +02:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-06-28 07:22:54 +02:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-03-20 23:32:52 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-03-18 15:14:26 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-07-11 23:46:27 +02:00
2017-02-11 21:52:51 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-05-26 00:29:05 +02:00
2017-05-09 21:41:57 +02:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-06-21 22:51:57 +04:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-05-08 09:49:01 -04:00
2017-01-04 12:01:14 +01:00
2017-03-20 23:32:52 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-04-22 20:00:48 +01:00
2017-04-28 21:05:46 +02:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 12:01:14 +01:00
2017-01-04 11:25:00 +01:00
2017-02-12 15:17:22 +02:00
2017-02-12 15:17:22 +02:00
2012-11-01 17:14:59 +00:00
2017-02-12 15:17:22 +02:00
2003-08-06 12:27:23 +00:00
2007-05-05 17:22:09 +00:00
2015-12-03 22:11:04 +01:00
2015-03-19 21:46:05 +01:00
2017-02-12 15:17:22 +02:00