mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
cleanup
This commit is contained in:
parent
ddf955afd3
commit
a39339e06f
|
@ -72,29 +72,11 @@ GenericChatForm::GenericChatForm(QObject *parent) :
|
||||||
videoButton->setObjectName("green");
|
videoButton->setObjectName("green");
|
||||||
videoButton->setStyleSheet(Style::get(":/ui/videoButton/videoButton.css"));
|
videoButton->setStyleSheet(Style::get(":/ui/videoButton/videoButton.css"));
|
||||||
|
|
||||||
QString volButtonStylesheet = "";
|
QString volButtonStylesheet = Style::get(":/ui/volButton/volButton.css");
|
||||||
try
|
|
||||||
{
|
|
||||||
QFile f(":/ui/volButton/volButton.css");
|
|
||||||
f.open(QFile::ReadOnly | QFile::Text);
|
|
||||||
QTextStream volButtonStylesheetStream(&f);
|
|
||||||
volButtonStylesheet = volButtonStylesheetStream.readAll();
|
|
||||||
}
|
|
||||||
catch (int e) {}
|
|
||||||
|
|
||||||
volButton->setObjectName("green");
|
volButton->setObjectName("green");
|
||||||
volButton->setStyleSheet(volButtonStylesheet);
|
volButton->setStyleSheet(volButtonStylesheet);
|
||||||
|
|
||||||
QString micButtonStylesheet = "";
|
QString micButtonStylesheet = Style::get(":/ui/micButton/micButton.css");
|
||||||
try
|
|
||||||
{
|
|
||||||
QFile f(":/ui/micButton/micButton.css");
|
|
||||||
f.open(QFile::ReadOnly | QFile::Text);
|
|
||||||
QTextStream micButtonStylesheetStream(&f);
|
|
||||||
micButtonStylesheet = micButtonStylesheetStream.readAll();
|
|
||||||
}
|
|
||||||
catch (int e) {}
|
|
||||||
|
|
||||||
micButton->setObjectName("green");
|
micButton->setObjectName("green");
|
||||||
micButton->setStyleSheet(micButtonStylesheet);
|
micButton->setStyleSheet(micButtonStylesheet);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user