Changed loading of layout.xml from resource system only

Authored by nmel on Apr 9 2018, 7:07 AM.



layout.xml is static file, so it's safe to load it from resource.
In the same time, if layout.xml is changed like it happened after v2.6,
this way doesn't introduce problems with loading incorrect layout.
Incorrect layout was loaded incorrectly if v2.6 is installed through
package manager and we run locally compiled / installed exe.

FIXED: [ 386314 ] Install to a custom location doesn't work correctly
BUG: 386314

Diff Detail

R167 Krusader
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
nmel requested review of this revision.Apr 9 2018, 7:07 AM
nmel created this revision.
martinkostolny added a subscriber: martinkostolny.

Thanks, Nikita!

This revision is now accepted and ready to land.Apr 9 2018, 10:39 PM
This revision was automatically updated to reflect the committed changes.