You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since all setters for main class fields are closely interconnected, calling anyone of them while some other fields haven't yet been initialized leads to conditionals relying on uninitialized values (you can check this with valgrind).
To circumvent this I had just to add to the QHexEdit constructor the following lines:
_addressArea = true;
_addressWidth = 4;
_asciiArea = true;
_overwriteMode = true;
_highlighting = true;
_readOnly = false;
_cursorPosition = 0;
_lastEventSize = 0;
Not sure if it is the correct solution, however.
The text was updated successfully, but these errors were encountered:
Since all setters for main class fields are closely interconnected, calling anyone of them while some other fields haven't yet been initialized leads to conditionals relying on uninitialized values (you can check this with valgrind).
To circumvent this I had just to add to the QHexEdit constructor the following lines:
_addressArea = true;
_addressWidth = 4;
_asciiArea = true;
_overwriteMode = true;
_highlighting = true;
_readOnly = false;
_cursorPosition = 0;
_lastEventSize = 0;
Not sure if it is the correct solution, however.
The text was updated successfully, but these errors were encountered: