fix for the searchline stylesheet

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3890 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-12-01 00:37:43 +00:00
parent 516bfa4b9a
commit 3896ce0e5e
2 changed files with 4 additions and 4 deletions

View File

@ -177,11 +177,11 @@ void SearchDialog::checkText(const QString& txt)
if(txt.length() < 3) if(txt.length() < 3)
{ {
std::cout << "setting palette 1" << std::endl ; std::cout << "setting palette 1" << std::endl ;
ui.searchlineframe->setStyleSheet("QFrame{ border: 2px solid #079E00; background-color: #DBDBDB; }"); ui.searchlineframe->setStyleSheet("QFrame#searchlineframe{ border: 2px solid #079E00; background-color: #DBDBDB; }");
} }
else else
{ {
ui.searchlineframe->setStyleSheet("QFrame { border: 2px solid #079E00; background-color: white; }"); ui.searchlineframe->setStyleSheet("QFrame#searchlineframe{ border: 2px solid #079E00; background-color: white; }");
std::cout << "setting palette 2" << std::endl ; std::cout << "setting palette 2" << std::endl ;
} }
} }

View File

@ -706,8 +706,8 @@ border-image: url(:/images/btn_26_pressed.png) 4;
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">border: 2px solid #079E00; <string notr="true">QFrame#searchlineframe{border: 2px solid #079E00;
background: white;</string> background: white;}</string>
</property> </property>
<property name="frameShape"> <property name="frameShape">
<enum>QFrame::StyledPanel</enum> <enum>QFrame::StyledPanel</enum>