From 8061d162dc255f761a2b3a2fc817950be3193b30 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Thu, 5 Oct 2017 02:47:45 +0300 Subject: [PATCH] Demo2 fixed --- demo_r2/main.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/demo_r2/main.cpp b/demo_r2/main.cpp index f0c521f..dac3ecc 100644 --- a/demo_r2/main.cpp +++ b/demo_r2/main.cpp @@ -4,18 +4,7 @@ int main(int argc, char *argv[]) { QApplication a(argc, argv); - QFile f(":qdarkstyle/style.qss"); - if (!f.exists()) - { - printf("Unable to set stylesheet, file not found\n"); - } - else - { - f.open(QFile::ReadOnly | QFile::Text); - QTextStream ts(&f); - a.setStyleSheet(ts.readAll()); - //a.setStyleSheet(""); - } + MainWindow w; w.show();