misc/132690: [patch] Fix port: deskutils/qrfcview - cann't input RFC number more than 5000

Maxim Ignatenko gelraen.ua at gmail.com
Mon Mar 16 04:30:05 PDT 2009


>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 at 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:


More information about the freebsd-bugs mailing list