QTfrontend/main.cpp
changeset 6177 5eba8970e8ae
parent 6176 19ef039a8474
child 6178 affa860f2983
equal deleted inserted replaced
6176:19ef039a8474 6177:5eba8970e8ae
   481     // this creates the autoreleasepool that prevents leaking
   481     // this creates the autoreleasepool that prevents leaking
   482     CocoaInitializer initializer;
   482     CocoaInitializer initializer;
   483 #endif
   483 #endif
   484     // load external stylesheet if there is any
   484     // load external stylesheet if there is any
   485     QFile * file =
   485     QFile * file =
   486         new QFile(HWDataManager::instance().findFileForRead("misc/qt_style.css"));
   486         new QFile(HWDataManager::instance().findFileForRead("css/qt.css"));
   487 
   487 
   488     if (file->exists() && file->open(QIODevice::ReadOnly | QIODevice::Text))
   488     if (file->exists() && file->open(QIODevice::ReadOnly | QIODevice::Text))
   489     {
   489     {
   490         QString style = "";
   490         QString style = "";
   491         QTextStream in(file);
   491         QTextStream in(file);