16 lines
613 B
Diff
16 lines
613 B
Diff
|
--- highlight-2.15/src/gui-qt/showtextfile.cpp.orig 2010-03-31 16:47:25.000000000 +0200
|
||
|
+++ highlight-2.15/src/gui-qt/showtextfile.cpp 2010-03-31 16:48:01.000000000 +0200
|
||
|
@@ -53,10 +53,10 @@
|
||
|
|
||
|
|
||
|
bool ShowTextFile::setFileName(const QString& fileName){
|
||
|
-#ifndef HL_DOC_DIR
|
||
|
+#ifndef DOC_DIR
|
||
|
QFile file( QString("%1/%2").arg(QDir::currentPath()).arg( fileName ));
|
||
|
#else
|
||
|
- QFile file( QString("%1/%2").arg(HL_DOC_DIR).arg(fileName ));
|
||
|
+ QFile file( QString("%1/%2").arg(DOC_DIR).arg(fileName ));
|
||
|
#endif
|
||
|
if ( file.open( QIODevice::ReadOnly) ) {
|
||
|
QTextStream stream( &file );
|