Search in help does not issue "not found" notification
Bug #1280686 reported by
Benjamin Eltzner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qpdfview |
Fix Released
|
Wishlist
|
Benjamin Eltzner |
Bug Description
It may be confusing to users that the search in the help file does not issue a pop-up message if the search term was not found. The fact that the help files tend to be partly translated for most supported languages add to this problem. As I have contributed to the code for the help search, I would be willing to add a suitable pop-up myself. (This bug report is also a reminder for myself.)
Changed in qpdfview: | |
milestone: | none → 0.4.9 |
status: | In Progress → Fix Committed |
Changed in qpdfview: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
So I finally found the time to do it. Please find a patch appended. It may be unecessarily clumsy, as I am not sure, whether Edit->palette( ) != *(new QPalette())) eEdit-> setPalette( *(new QPalette())); t->setPalette( *(new QPalette()));
if(m_searchLine
{
m_searchLin
}
is better than just
m_searchLineEdi
performance-wise or whether that is relevant. It also features an explanatory source code comment that may be removed and a for-loop that might want to be replaced by a for-each-loop. :-)
Otherwise I am pretty sure it works as expected and provides an enhancement.