Commit 67b407a6 authored by Andrius Štikonas's avatar Andrius Štikonas

Remove empty legacy function.

The startup code to do with checking that the levels data and handbook are
present can be deleted or commented out.  It is legacy code and is known to
have caused a problem lately on at least one platform.
parent b6ce9c70
......@@ -34,16 +34,10 @@ static const char description[] =
// The intention is to keep the KGoldrunner version number in line with KDE.
static const char version[] = "4.14";
static bool gameDataOK();
static void addCredits (KAboutData & about);
int main (int argc, char **argv)
{
// Check data integrity and find base directories.
if (! gameDataOK()) {
// Error message;
return 2;
}
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("kgoldrunner");
......@@ -114,8 +108,3 @@ void addCredits (KAboutData & about)
i18n ("Artwork for the Treasure of Egypt theme"),
"irs_me@hotmail.com");
}
bool gameDataOK()
{
return true;
}
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