diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-29 03:07:46 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-29 03:07:46 (GMT) |
commit | 341fc0e32f715e9227c3329d8eb24f15fd550723 (patch) | |
tree | 6722fbd7f4a79ad45332954a68945d83ebfec437 /tools | |
parent | d7be4d1cd394c04f85647b6de823a33aa7b2d900 (diff) | |
download | Qt-341fc0e32f715e9227c3329d8eb24f15fd550723.zip Qt-341fc0e32f715e9227c3329d8eb24f15fd550723.tar.gz Qt-341fc0e32f715e9227c3329d8eb24f15fd550723.tar.bz2 |
Fix compile failure on Visual C++ 6.
No need to be excessively clever here.
Reviewed-by: Trust Me
Diffstat (limited to 'tools')
-rw-r--r-- | tools/assistant/tools/assistant/centralwidget.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/assistant/tools/assistant/centralwidget.cpp b/tools/assistant/tools/assistant/centralwidget.cpp index f953ab7..4390a10 100644 --- a/tools/assistant/tools/assistant/centralwidget.cpp +++ b/tools/assistant/tools/assistant/centralwidget.cpp @@ -394,8 +394,10 @@ void CentralWidget::setLastShownPages() QString::SkipEmptyParts); const int pageCount = lastShownPageList.count(); - if (pageCount == 0 && usesDefaultCollection) - return setSource(QUrl(QLatin1String("help"))); + if (pageCount == 0 && usesDefaultCollection) { + setSource(QUrl(QLatin1String("help"))); + return; + } #if !defined(QT_NO_WEBKIT) const QLatin1String zoom("LastPagesZoomWebView"); |