Ticket #72: default_theme_no_warning.diff
| File default_theme_no_warning.diff, 948 bytes (added by , 21 years ago) |
|---|
-
mythcontext.cpp
1396 1396 if (dir.exists()) 1397 1397 return testdir; 1398 1398 1399 testdir = "../menutest/" + themename;1399 testdir = d->m_installprefix + "/share/mythtv/themes/G.A.N.T."; 1400 1400 dir.setPath(testdir); 1401 if (dir.exists()) 1401 if (dir.exists()){ 1402 cerr<<"Defaulting to G.A.N.T. theme"<<endl; 1402 1403 return testdir; 1404 } 1403 1405 1404 1406 1405 1407 // Don't complain about the "default" theme being missing … … 1409 1411 dir.setPath(testdir); 1410 1412 if (dir.exists()) 1411 1413 return testdir; 1412 } 1413 1414 cerr << "Could not find theme: " << themename << endl;1415 return ""; 1414 dir.setPath(testdir); 1415 cerr << "Could not find theme: " << themename << endl; 1416 exit(1); 1417 } 1416 1418 } 1417 1419 QString MythContext::GetMenuThemeDir(void) 1418 1420 {
