[PC-BSD Commits] r16099 - pcbsd/current/src-qt4/pc-softwaremanager
svn at pcbsd.org
svn at pcbsd.org
Fri Mar 30 06:59:30 PDT 2012
Author: kenmoore
Date: 2012-03-30 13:59:30 +0000 (Fri, 30 Mar 2012)
New Revision: 16099
Modified:
pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp
Log:
Clean up the new display items for the AppCafe and fix a bug with the name detection - works perfectly now
Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp 2012-03-30 13:37:45 UTC (rev 16098)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp 2012-03-30 13:59:30 UTC (rev 16099)
@@ -987,13 +987,13 @@
found = true; //PBI's have been found -- only set this once
if(nn > 0){ //If there are Name Matches
//Add a header for "Best Matches"
- QLabel *myLine = new QLabel( "-----<b>"+tr("Best Matches")+"</b>-----" );
+ QLabel *myLine = new QLabel( "<i><b>"+tr("Best Matches")+"</b></i>" );
myLine->setFixedHeight(12);
layoutBrowser->addWidget(myLine);
}
- }else if( nn!=0 && j==(nn+1) && j<(nFound-1) ){ //After the last Name match and more matches available
+ }else if( nn!=0 && j==nn && j<(nFound-1) ){ //After the last Name match and more matches available
//Add a header for "Other Matches"
- QLabel *myLine = new QLabel( "-----<b>"+tr("Other Matches")+"</b>-----" );
+ QLabel *myLine = new QLabel( "<i><b>"+tr("Other Matches")+"</b></i>" );
myLine->setFixedHeight(12);
layoutBrowser->addWidget(myLine);
}
More information about the Commits
mailing list