Fixed broken mail/kiltdown port
Kevin Thompson
antiduh at csh.rit.edu
Fri Feb 11 15:47:03 PST 2005
I've fixed the compile error in the mail/kiltdown port. Below is the
patch.
Basically, it was a variable name conflict - rename the QPixmap p to qp.
--- kiltdown/mailviewer.cc.broken Sun May 13 23:25:23 2001
+++ kiltdown/mailviewer.cc Fri Feb 11 18:01:09 2005
@@ -948,17 +948,17 @@
case LowPriority:
pstr = intlLoadString(p == LowPriority
? ID_LOW_PRIORITY_TEXT
: ID_HIGH_PRIORITY_TEXT);
if (pstr) {
- QPixmap p(p == LowPriority ? lowpriIcon :
priorityhdrIcon);
- priorityPixLabel->setPixmap(p);
- priorityPixLabel->setGeometry(4, top, p.width() + 1,
ctlHeight);
+ QPixmap qp(p == LowPriority ? lowpriIcon :
priorityhdrIcon);
+ priorityPixLabel->setPixmap(qp);
+ priorityPixLabel->setGeometry(4, top, qp.width() + 1,
ctlHeight);
priorityLabel->setText(pstr);
localFree(pstr);
- priorityLabel->setGeometry(p.width() + 5, top,
- this->width() - p.width() -
13,
+ priorityLabel->setGeometry(qp.width() + 5, top,
+ this->width() - qp.width() -
13,
ctlHeight);
top += ctlHeight + 5;
priorityPixLabel->show();
priorityLabel->show();
} else {
Attached is the fixed version of the file.
--Kevin Thompson
More information about the freebsd-ports
mailing list