@ 261105.1

240727.2 · 731cfb2dd8bff772eb16ced60c1ee9d752370947

#232 update GUI compiler directive names

Signed-off-by: Andre Simon <as@andre-simon.de>

reading declarations

Changes to src/gui-qt/showtextfile.cpp. All files

src/gui-qt/showtextfile.cpp

@@ -58,10 +58,10 @@ bool ShowTextFile::setFileName(const QString& fileName) #ifdef Q_OS_OSX     QFile file( QString("%1/../Resources/%2").arg(QCoreApplication::applicationDirPath()).arg( fileName )); #else-    #ifndef DOC_DIR+    #ifndef HL_DOC_DIR     QFile file( QString("%1/%2").arg(QDir::currentPath()).arg( fileName ));     #else-    QFile file( QString("%1/%2").arg(DOC_DIR).arg(fileName ));+    QFile file( QString("%1/%2").arg(HL_DOC_DIR).arg(fileName ));     #endif #endif     if ( file.open( QIODevice::ReadOnly) ) {