Date: Fri, 11 Feb 2005 18:47:00 -0500 From: Kevin Thompson <antiduh@csh.rit.edu> To: ports@freebsd.org Subject: Fixed broken mail/kiltdown port Message-ID: <1108165620.70065.3.camel@corrugated.csh.rit.edu>
next in thread | raw e-mail | index | archive | help
--=-VHRm3EbxyuTNPwxCBmFw Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 --=-VHRm3EbxyuTNPwxCBmFw--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108165620.70065.3.camel>