Commit ed21c56e authored by Laurent Montel's avatar Laurent Montel 😁

Avoid crash

parent 3d533553
......@@ -63,9 +63,10 @@ GameGLView::GameGLView(Game * g, QWidget * parent)
void GameGLView::initializeGL()
// Look for themes in files "---/share/apps/kubrick/themes/*.desktop".
#if 0 //QT5
KGlobal::dirs()->addResourceType ("theme", "data",
QString (KCmdLineArgs::aboutData()->appName()) + QString ("/themes/"));
// IDW - This is temporary code for KDE 4.1. Do themes properly in KDE 4.2.
QStringList themeFilepaths = KGlobal::dirs()->findAllResources
("theme", "*.svgz", KStandardDirs::NoDuplicates); // Find files.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment