summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-12-27 14:16:50 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-12-27 14:16:50 (GMT)
commita0924f7d469a42ab962763ce34ea5fabc73da9d7 (patch)
treef7a0e738846bd8829692ba20575727187e9e0268 /addon
parent5b3f3dc61bad158050a2953728f87a9a411823e2 (diff)
downloadDoxygen-a0924f7d469a42ab962763ce34ea5fabc73da9d7.zip
Doxygen-a0924f7d469a42ab962763ce34ea5fabc73da9d7.tar.gz
Doxygen-a0924f7d469a42ab962763ce34ea5fabc73da9d7.tar.bz2
Release-1.5.8
Diffstat (limited to 'addon')
-rw-r--r--addon/doxywizard/doxywizard.cpp7
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));
}