This commit is contained in:
doitux
2009-02-23 08:26:31 +00:00
parent ea2312bab6
commit ed3ec99344
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -1780,7 +1780,7 @@
<attribute name="title" > <attribute name="title" >
<string>Kick</string> <string>Kick</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout" > <layout class="QGridLayout" name="gridLayout21" >
<property name="horizontalSpacing" > <property name="horizontalSpacing" >
<number>0</number> <number>0</number>
</property> </property>
@@ -2714,7 +2714,7 @@
<attribute name="title" > <attribute name="title" >
<string>Chance</string> <string>Chance</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout2" > <layout class="QGridLayout" name="gridLayout32" >
<property name="margin" > <property name="margin" >
<number>2</number> <number>2</number>
</property> </property>
+6
View File
@@ -70,4 +70,10 @@ std::string QtHelper::getDataPathStdString(const char * /*argv0*/)
#endif #endif
return (QDir::cleanPath(path) + "/").toUtf8().constData(); return (QDir::cleanPath(path) + "/").toUtf8().constData();
} }
// [01:09] <Zhenech> doitux|mob, mach den pfad als define, und nur wenns nich gesetzt is wildes raten
// [01:10] <Zhenech> dann compilieren die distries mit -DDATAPTH="/usr/share/games/pokerth" o.ä.
// [01:10] <Zhenech> und du suchst eine liste ab:
// [01:10] <Zhenech> ist es in [/usr/share/pokerth, /usr/share/games/pokerth/, /usr/local/..., $PWD/data]