-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend the ctkPluginFrameworkLauncher convenience run method to accept cl args #603
Extend the ctkPluginFrameworkLauncher convenience run method to accept cl args #603
Conversation
👍 |
@espakm @saschazelzer Does this look good for you ? After squashing the commit together, should this be integrated ? Thanks for reviewing. |
@@ -107,10 +107,11 @@ class CTK_PLUGINFW_EXPORT ctkPluginFrameworkLauncher | |||
* | |||
* @param endSplashHandler the block of code to run to tear down the splash | |||
* screen or <code>null</code> if no tear down is required | |||
* @param argument the argument passed to the application. May be <code>null</code> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of "may be null", I suggest: "Default is QVariant()."
@jcfr Yes, that's good. I've been using this commit for a while, it works well. |
Previously one either had the choice of using the convenience run method, without having the option of handling command line arguments, or handling startup etc oneself. This change will add an additional parameter to the convenience run method which takes the command line arguments and hands them through.
90d1728
to
2544509
Compare
Incorporated hmeines comment and squashed the result. Is there anything left to do? |
👍 |
1 similar comment
👍 |
…rough-cl-arguments Extend the ctkPluginFrameworkLauncher convenience run method to accept cl args
Previously one either had the choice of using the convenience run method,
without having the option of handling command line arguments, or handling
startup etc oneself. This change will add an additional parameter to the
convenience run method which takes the command line arguments and hands
them through.
cc: @saschazelzer