blue -> gray

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2321 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-02-14 15:50:38 +00:00
parent 5db2d85ad6
commit 1f6444829f

View File

@ -189,7 +189,7 @@ void SearchDialog::checkText(const QString& txt)
if(txt.length() < 4) if(txt.length() < 4)
{ {
std::cout << "setting palette 1" << std::endl ; std::cout << "setting palette 1" << std::endl ;
ui.lineEdit->setStyleSheet("QLineEdit { background-color: blue; }"); ui.lineEdit->setStyleSheet("QLineEdit { background-color: gray; }");
} }
else else
{ {
@ -1008,9 +1008,10 @@ void SearchDialog::selectSearchResults()
/* get the searchId text */ /* get the searchId text */
QString searchId = ci->text(SS_SEARCH_ID_COL); QString searchId = ci->text(SS_SEARCH_ID_COL);
#ifdef DEBUG
std::cerr << "SearchDialog::selectSearchResults(): searchId: " << searchId.toStdString(); std::cerr << "SearchDialog::selectSearchResults(): searchId: " << searchId.toStdString();
std::cerr << std::endl; std::cerr << std::endl;
#endif
/* show only matching searchIds in main window */ /* show only matching searchIds in main window */
int items = ui.searchResultWidget->topLevelItemCount(); int items = ui.searchResultWidget->topLevelItemCount();