diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-12-27 14:16:50 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-12-27 14:16:50 (GMT) |
commit | a0924f7d469a42ab962763ce34ea5fabc73da9d7 (patch) | |
tree | f7a0e738846bd8829692ba20575727187e9e0268 /addon | |
parent | 5b3f3dc61bad158050a2953728f87a9a411823e2 (diff) | |
download | Doxygen-a0924f7d469a42ab962763ce34ea5fabc73da9d7.zip Doxygen-a0924f7d469a42ab962763ce34ea5fabc73da9d7.tar.gz Doxygen-a0924f7d469a42ab962763ce34ea5fabc73da9d7.tar.bz2 |
Release-1.5.8
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxywizard/doxywizard.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index 6d88624..63d7efe 100644 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -485,7 +485,12 @@ void MainWindow::showHtmlOutput() { QString indexFile = m_expert->getHtmlOutputIndex(m_workingDir->text()); QFileInfo fi(indexFile); - QString indexUrl(QString::fromAscii("file://")+fi.absoluteFilePath()); +#ifdef WIN32 + QString indexUrl(QString::fromAscii("file:///")); +#else + QString indexUrl(QString::fromAscii("file://")); +#endif + indexUrl+=fi.absoluteFilePath(); QDesktopServices::openUrl(QUrl(indexUrl)); } |