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:
d761982
)
replace tabs with spaces in QX11Info::cloneX11Data()
author
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 1 Apr 2020 21:09:13 +0000
(21:09 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 1 Apr 2020 21:09:13 +0000
(21:09 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/kernel/qx11info_x11.cpp
patch
|
blob
|
history
diff --git
a/src/gui/kernel/qx11info_x11.cpp
b/src/gui/kernel/qx11info_x11.cpp
index
06ff313
..
cb34eb6
100644
(file)
--- a/
src/gui/kernel/qx11info_x11.cpp
+++ b/
src/gui/kernel/qx11info_x11.cpp
@@
-128,10
+128,10
@@
void QX11Info::cloneX11Data(const QPaintDevice *fromDevice)
QX11InfoData *xd;
if (fromDevice->devType() == QInternal::Widget) {
xd = static_cast<const QWidget *>(fromDevice)->x11Info().x11data;
- } else {
- Q_ASSERT(fromDevice->devType() == QInternal::Pixmap);
+
} else {
+
Q_ASSERT(fromDevice->devType() == QInternal::Pixmap);
xd = static_cast<const QPixmap *>(fromDevice)->x11Info().x11data;
- }
+
}
d = new QX11InfoData(*xd);
d->ref = 0;
}