diff options
Diffstat (limited to 'src/ftvhelp.cpp')
-rw-r--r-- | src/ftvhelp.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp index 38c2e72..a49ff2f 100644 --- a/src/ftvhelp.cpp +++ b/src/ftvhelp.cpp @@ -311,13 +311,14 @@ static void generateFolderTreeViewData() QTextStream t(&f); t << "<html><head>" << endl; t << "<link rel=\"stylesheet\" href=\""; - if (Config_getString("HTML_STYLESHEET").isEmpty()) + QCString cssname=Config_getString("HTML_STYLESHEET"); + if (cssname.isEmpty()) { t << "doxygen.css"; } else { - QFileInfo cssfi(Config_getString("HTML_STYLESHEET")); + QFileInfo cssfi(cssname); if (!cssfi.exists()) { err("Error: user specified HTML style sheet file does not exist!\n"); |