diff options
author | OBATA Akio <obache@wizdas.com> | 2021-06-19 14:45:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-06-19 16:15:54 +0900 |
commit | 3c3e222f5f70ac47b6407a5c63f46c7f886cc833 (patch) | |
tree | c3764bf30d5a9319965383ab7ffeac096fffddcf | |
parent | 2253ba57f03773a75b0c630ea114660777c763a9 (diff) | |
download | tdeutils-3c3e222f5f70ac47b6407a5c63f46c7f886cc833.tar.gz tdeutils-3c3e222f5f70ac47b6407a5c63f46c7f886cc833.zip |
Fix enum mismatch
Using own Orientation, not Qt::Orientation.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 4eb1ed120ec901498db53d90a993c1d7daf064db)
-rw-r--r-- | khexedit/statusbarprogress.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/khexedit/statusbarprogress.cpp b/khexedit/statusbarprogress.cpp index 6ed24e3..2ec4c4a 100644 --- a/khexedit/statusbarprogress.cpp +++ b/khexedit/statusbarprogress.cpp @@ -297,7 +297,7 @@ void CStatusBarProgress::drawContents(TQPainter *p) switch( mBarStyle ) { case Solid: - if( mOrientation ==Qt::Horizontal ) + if( mOrientation == Horizontal ) { fr.setWidth(recalcValue(cr.width())); er.setLeft(fr.right() + 1); @@ -319,7 +319,7 @@ void CStatusBarProgress::drawContents(TQPainter *p) case Blocked: const int margin = 2; int max, num, dx, dy; - if( mOrientation ==Qt::Horizontal ) + if( mOrientation == Horizontal ) { fr.setHeight(cr.height() - 2 * margin); fr.setWidth((int)(0.67 * fr.height())); @@ -350,7 +350,7 @@ void CStatusBarProgress::drawContents(TQPainter *p) if (num != max) { - if( mOrientation ==Qt::Horizontal ) + if( mOrientation == Horizontal ) er.setLeft(fr.right() + 1); else er.setBottom(fr.bottom() + 1); |