summaryrefslogtreecommitdiffstats
path: root/src/gui/s60framework/qs60mainappui.cpp
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2011-01-18 16:50:09 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2011-02-10 12:26:44 (GMT)
commitd35e6856c4fb7e98dac5db3aaa94ac271375405e (patch)
tree1a0bcf64d0093562f030f4d6e91122cbe2495bd9 /src/gui/s60framework/qs60mainappui.cpp
parent30f845abdad6dcff620f93122495aee8aac7452f (diff)
downloadQt-d35e6856c4fb7e98dac5db3aaa94ac271375405e.zip
Qt-d35e6856c4fb7e98dac5db3aaa94ac271375405e.tar.gz
Qt-d35e6856c4fb7e98dac5db3aaa94ac271375405e.tar.bz2
Updates after review comments
Tidied up QFileOpenEventPrivate destruction. Commented the Duplicates to explain their benefit. Remove the file exists check from ProcessCommandParametersL Task-number: QTBUG-15015 Reviewed-by: Shane Kearns
Diffstat (limited to 'src/gui/s60framework/qs60mainappui.cpp')
-rw-r--r--src/gui/s60framework/qs60mainappui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/s60framework/qs60mainappui.cpp b/src/gui/s60framework/qs60mainappui.cpp
index 454f90d..8ae43a5 100644
--- a/src/gui/s60framework/qs60mainappui.cpp
+++ b/src/gui/s60framework/qs60mainappui.cpp
@@ -408,7 +408,8 @@ void QS60MainAppUi::HandleForegroundEventL(TBool aForeground)
TBool QS60MainAppUi::ProcessCommandParametersL(TApaCommand /*aCommand*/, TFileName &aDocumentName, const TDesC8 &/*aTail*/)
{
// bypass CEikAppUi::ProcessCommandParametersL(..) which modifies aDocumentName, preventing apparc document opening from working.
- return ConeUtils::FileExists(aDocumentName);
+ // The return value is effectively unused in Qt apps (see QS60MainDocument::OpenFileL)
+ return EFalse;
}
#ifndef Q_WS_S60