diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-12-27 14:16:50 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2008-12-27 14:16:50 (GMT) |
commit | f1662f81dd249c51e4d8f9a64ea226f511b0bfbc (patch) | |
tree | f7a0e738846bd8829692ba20575727187e9e0268 /addon | |
parent | d5c952f0b08df72f4a11585516d7c14759192293 (diff) | |
download | Doxygen-f1662f81dd249c51e4d8f9a64ea226f511b0bfbc.zip Doxygen-f1662f81dd249c51e4d8f9a64ea226f511b0bfbc.tar.gz Doxygen-f1662f81dd249c51e4d8f9a64ea226f511b0bfbc.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)); } |