how to stylesheet delete?
Solved
General and Desktop
-
Hi.
i set stylesheet in line edit .
my source code ↓
ui->lineEdit->setStyleSheet("QLineEdit {border-color:orange;border-width:2;border-style:outset}");
i want delete stylesheet.
how to stylesheet delete?
-
@ForestPoem
ui->lineEdit->setStyleSheet(""); -
Just a hint: don't create empty QStrings by conversion from "". It's better to use the default constructor:
ui->lineEdit->setStyleSheet(QString());
-
thank you .