summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-10-12 17:52:20 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-10-12 19:19:44 +0200
commit61932fa0d8612c03f432101e9b3eed004f39be37 (patch)
tree2a52334c7371e2848bb3d97b2e87d2e0ffe7a11a
parent06687acf67f7846bb521a9a242733e23f330c09c (diff)
desktop: fix misleading comment
REQUEST_START is triggered with --show. Change-Id: I83fec4f0ae4df15ed7974f484b3001e886f82a65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104217 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
-rw-r--r--desktop/source/app/dispatchwatcher.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx
index ec566181ce52..50b92ecb7834 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -469,7 +469,7 @@ bool DispatchWatcher::executeDispatchRequests( const std::vector<DispatchRequest
aArgs.emplace_back("ReadOnly", 0, Any(true), PropertyState_DIRECT_VALUE);
}
- // if we are called with -start set Start in mediadescriptor
+ // if we are called with --show set Start in mediadescriptor
if(aDispatchRequest.aRequestType == REQUEST_START) {
aArgs.emplace_back("StartPresentation", 0, Any(true), PropertyState_DIRECT_VALUE);
}