fixes linux compilation problem. add /usr/games/bin support for appPath (gentoo)

This commit is contained in:
doitux
2007-10-01 07:17:05 +00:00
parent b4a1ce8bd5
commit e31f74fe01
6 changed files with 12 additions and 38 deletions
+4 -2
View File
@@ -70,8 +70,7 @@ class Game;
int main( int argc, char **argv )
{
//create defaultconfig
ConfigFile *myConfig = new ConfigFile(argc, argv);
//ENABLE_LEAK_CHECK();
//_CrtSetBreakAlloc(49937);
@@ -80,6 +79,9 @@ int main( int argc, char **argv )
/////// can be removed for non-qt-guis ////////////
QApplication a( argc, argv );
//create defaultconfig
ConfigFile *myConfig = new ConfigFile(argc, argv);
// set PlastiqueStyle even for mac-version to prevent artefacts on styled widgets
a.setStyle(new QPlastiqueStyle);