diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2024-03-19 08:37:25 +0300 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-03 09:10:13 +0900 |
| commit | b44105403d840b671b01410c34935de1c8738227 (patch) | |
| tree | 873123b65268028136894cb3cc0a79cd6f12e48d /src/widgets/ntqtextedit.h | |
| parent | bca1fe4e8f3bcf56ddd115eb0ce4cf96c22d0956 (diff) | |
| download | tqt-b4410540.tar.gz tqt-b4410540.zip | |
TQTextEdit: remove one of two readOnly flags
There were two flags for read-only with different capitalization:
readonly and readOnly. This was probably a mistake.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 9c5ea5617a3bc0e69213e2361dd02d70f14f4708)
Diffstat (limited to 'src/widgets/ntqtextedit.h')
| -rw-r--r-- | src/widgets/ntqtextedit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/ntqtextedit.h b/src/widgets/ntqtextedit.h index 25f0e0732..01b809d04 100644 --- a/src/widgets/ntqtextedit.h +++ b/src/widgets/ntqtextedit.h @@ -271,7 +271,7 @@ public: TQSize sizeHint() const; - bool isReadOnly() const { return readonly; } + bool isReadOnly() const { return readOnly; } void getCursorPosition( int *parag, int *index ) const; @@ -582,11 +582,11 @@ private: bool mousePressed : 1; bool cursorVisible : 1; bool blinkCursorVisible : 1; - bool readOnly : 1; + bool noop: 1; //< Removed; keep as padding for binary compat or reuse if needed bool modified : 1; bool mightStartDrag : 1; bool inDnD : 1; - bool readonly : 1; + bool readOnly : 1; bool undoEnabled : 1; bool overWrite : 1; |
