Ignore:
Timestamp:
02/25/14 13:00:48 (6 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
50a696a
Parents:
ff5a5e4
Message:

Clean up the AppCafe? browser home page - now just have a toolbutton to browser categories, and instead put recommended applications on the home page (new defaultrecommendations.txt resource). These recommendations can be automatically updated later if we add that ability for the repo to include an additional file with this information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-softwaremanager/pbiDBAccess.cpp

    r4be3e27 r32be23f  
    249249  output << list[10]; //DATE ADDED (just a number - not human-readable) 
    250250  output << list[11]; //MAINTAINER EMAIL 
    251   //Cleanup the short description (remove any line breaks) 
    252   QStringList tmp = list[12].split("<br>", QString::SkipEmptyParts); 
    253   list[12] = tmp.join(" ").simplified(); 
    254   output << list[12]; //SHORT DESCRIPTION 
     251  //Cleanup the short description 
     252  output << cleanupDescription( list[12].split("<br>", QString::SkipEmptyParts) ); //SHORT DESCRIPTION 
    255253  return output; 
    256254} 
     
    427425    } 
    428426  } 
    429   return tmp.join("\n"); 
    430 } 
     427  QString desc = tmp.join("\n"); 
     428  desc.remove("\\\\"); //Remove any double backslashes 
     429  return desc; 
     430} 
Note: See TracChangeset for help on using the changeset viewer.