Fixed file path for settingsManager.css

This commit is contained in:
Nikhil Tanwar 2021-09-09 17:25:31 +05:30 committed by Emmanuel Engelhart
parent 0711c4a5c1
commit 6a64ea7f91

View File

@ -9,7 +9,7 @@ SettingsView::SettingsView(QWidget *parent)
, ui(new Ui::Settings)
{
ui->setupUi(this);
QFile file("./resources/css/_settingsManager.css");
QFile file(QString::fromUtf8(":/css/_settingsManager.css"));
file.open(QFile::ReadOnly);
QString styleSheet = QString(file.readAll());
ui->widget->setStyleSheet(styleSheet);