Commit 39d994eb authored by Dirk Mueller's avatar Dirk Mueller

don't compile in SRCDIR

svn path=/trunk/KDE/kdegames/lskat/; revision=541123
parent 0ff2b805
......@@ -80,19 +80,13 @@ Mainwindow::Mainwindow(QWidget* parent)
mView = 0;
// Add directories where data can be found (ui.rc + graphics)
KGlobal::dirs()->addResourceDir("data", SRCDIR + QString::fromLatin1("/.."));
KGlobal::dirs()->addResourceDir("appdata", SRCDIR + QString::fromLatin1("/.."));
// Find resource directory
QString file=QString::fromLatin1("lskat/grafix/t0.png");
mGrafixDir = kapp->dirs()->findResourceDir("data", file)+"lskat/grafix/";
// Debug
kDebug() << "SRCDIR="<<SRCDIR<<endl;
kDebug() << "GrafixDir="<<mGrafixDir << endl;
// Our config
mConfig=KGlobal::config();
......
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