diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 15:08:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 15:08:51 -0600 |
commit | fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0 (patch) | |
tree | a01fcd88aa65a77c2b2e12ba1a55851ddfe5afcc /tdeprint/treecombobox.cpp | |
parent | 3fbca5d9a4bd057ed5f9df138333e6c16dbdcc62 (diff) | |
download | tdelibs-fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0.tar.gz tdelibs-fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0.zip |
Fix kdelibs FTBFS on native TQt3
Diffstat (limited to 'tdeprint/treecombobox.cpp')
-rw-r--r-- | tdeprint/treecombobox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/treecombobox.cpp b/tdeprint/treecombobox.cpp index 7a2adc8ef..45213f41c 100644 --- a/tdeprint/treecombobox.cpp +++ b/tdeprint/treecombobox.cpp @@ -93,15 +93,15 @@ void TreeListBoxItem::paint(TQPainter *p) return; } - const QPixmap *pix = pixmap(); - QRect r = p->viewport(); + const TQPixmap *pix = pixmap(); + TQRect r = p->viewport(); int h = height(listBox()); int xo = (m_depth * stepSize() + 2); int yo = (pix ? (h-pix->height())/2 : 0); if (m_depth > 0) { - QPen oldPen = p->pen(); + TQPen oldPen = p->pen(); p->setPen(listBox()->tqcolorGroup().mid()); TreeListBoxItem *item = this; |