OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d90b203
)
compiler warning fix
author
Ivailo Monev
<xakepa10@laimg.moc>
Fri, 24 May 2019 15:12:24 +0000
(15:12 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Fri, 24 May 2019 15:12:24 +0000
(15:12 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/kernel/qwidget.cpp
patch
|
blob
|
history
diff --git
a/src/gui/kernel/qwidget.cpp
b/src/gui/kernel/qwidget.cpp
index
0a6edee
..
c17464a
100644
(file)
--- a/
src/gui/kernel/qwidget.cpp
+++ b/
src/gui/kernel/qwidget.cpp
@@
-3644,7
+3644,7
@@
void QWidget::setMaximumHeight(int h)
Q_D(QWidget);
d->createExtra();
Qt::Orientations expl = d->extra->explicitMaxSize;
- if (h
=!
QWIDGETSIZE_MAX)
+ if (h
!=
QWIDGETSIZE_MAX)
expl |= Qt::Vertical;
setMaximumSize(maximumSize().width(), h);
d->extra->explicitMaxSize = expl;