Date: Mon, 16 Mar 2009 11:28:40 GMT From: Maxim Ignatenko <gelraen.ua@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/132690: [patch] Fix port: deskutils/qrfcview - cann't input RFC number more than 5000 Message-ID: <200903161128.n2GBSe65074385@www.freebsd.org> Resent-Message-ID: <200903161130.n2GBU1ad072416@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 132690
>Category: misc
>Synopsis: [patch] Fix port: deskutils/qrfcview - cann't input RFC number more than 5000
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 16 11:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Maxim Ignatenko
>Release: 8.0-CURRENT
>Organization:
Kiev National Taras Shevchenko University
>Environment:
FreeBSD imax 8.0-CURRENT FreeBSD 8.0-CURRENT #38: Mon Feb 23 23:48:33 EET 2009 root@imax:/usr/obj/usr/src/sys/HEAD i386
>Description:
RFC with numbers more than 5000 can not be opened via "Enter RFC number" dialog.
The only place where limitation was found is maxValue parameter of QInputDialog::getInteger(). This patch replaces 5000 with 100000. Ugly fix, but should work.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- src/mainwindow.cpp.orig 2009-03-16 10:54:30.000000000 +0200
+++ src/mainwindow.cpp 2009-03-16 10:55:10.000000000 +0200
@@ -123,7 +123,7 @@
// Load a RFC number
bool bOK;
int iRFCNum = QInputDialog::getInteger(this, tr("Please enter a RFC number"),
- tr("RFC#:"), 0, 1, 5000, 1, &bOK);
+ tr("RFC#:"), 0, 1, 100000, 1, &bOK);
if (bOK)
RFCLoad( iRFCNum );
}
>Release-Note:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903161128.n2GBSe65074385>
