summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-12-27 14:16:50 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-12-27 14:16:50 (GMT)
commitf1662f81dd249c51e4d8f9a64ea226f511b0bfbc (patch)
treef7a0e738846bd8829692ba20575727187e9e0268 /addon
parentd5c952f0b08df72f4a11585516d7c14759192293 (diff)
downloadDoxygen-f1662f81dd249c51e4d8f9a64ea226f511b0bfbc.zip
Doxygen-f1662f81dd249c51e4d8f9a64ea226f511b0bfbc.tar.gz
Doxygen-f1662f81dd249c51e4d8f9a64ea226f511b0bfbc.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));
}