littletux
User
 Fresh Boarder
| Posts: 2 |   | Karma: 0
|
license box empty - 2007/12/21 02:08
Hello,
I use this patch for the Mandriva package, otherwise the license can not be opened (the rights on data files are 0644).
| Code: | --- src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp~ 2007-12-13 17:18:10.000000000 -0500
+++ src/gui/qt/aboutpokerth/aboutpokerthimpl.cpp 2007-12-20 12:22:35.000000000 -0500
@@ -46,7 +46,7 @@
QFile gplFile(QDir::toNativeSeparators(myAppDataPath+"misc/gpl2.html"));
QString gplString;
if(gplFile.exists()) {
- if (gplFile.open( QIODevice::ReadWrite)) {
+ if (gplFile.open( QIODevice::ReadOnly)) {
QTextStream stream( &gplFile );
gplString = stream.readAll();
textBrowser_licence->setHtml(gplString);
|
Regards,
Guillaume B.
|