no message
parent
59d732cb48
commit
315687fd6c
2
Qss.cpp
2
Qss.cpp
|
@ -91,7 +91,6 @@ QssTtitleBar::QssTtitleBar(QWidget *parent ,
|
||||||
QFile file(":/qss/css/QssTitleBar.css");
|
QFile file(":/qss/css/QssTitleBar.css");
|
||||||
if (!file.open(QIODevice::ReadOnly)){
|
if (!file.open(QIODevice::ReadOnly)){
|
||||||
qDebug()<<"error bar";
|
qDebug()<<"error bar";
|
||||||
exit(0);
|
|
||||||
}
|
}
|
||||||
QTextStream in(&file);
|
QTextStream in(&file);
|
||||||
QString css = in.readAll();
|
QString css = in.readAll();
|
||||||
|
@ -278,7 +277,6 @@ QssMainWindow::QssMainWindow(QWidget *parent/* = 0*/, Qt::WindowFlags flags/* =
|
||||||
QFile file(":/qss/css/QssMainWindow.css");
|
QFile file(":/qss/css/QssMainWindow.css");
|
||||||
if (!file.open(QIODevice::ReadOnly)){
|
if (!file.open(QIODevice::ReadOnly)){
|
||||||
qDebug()<<"error bar";
|
qDebug()<<"error bar";
|
||||||
exit(0);
|
|
||||||
}
|
}
|
||||||
QTextStream in(&file);
|
QTextStream in(&file);
|
||||||
QString css = in.readAll();
|
QString css = in.readAll();
|
||||||
|
|
Loading…
Reference in New Issue