Skip to content

How set organization name and application values? #940

Answered by ahayzen-kdab
realroot2185 asked this question in Q&A
Discussion options

You must be logged in to vote

Ah yes you'll hit the move fun, add some as_mut()'s in there and it'll work.

    if let Some(mut app) = app.as_mut() {
        app.as_mut().set_application_version(&QString::from("0.1.0"));
        app.as_mut().set_organization_name(&QString::from("org"));
        app.as_mut().set_organization_domain(&QString::from("domain"));
    }

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@realroot2185
Comment options

@ahayzen-kdab
Comment options

Answer selected by realroot2185
@realroot2185
Comment options

@ahayzen-kdab
Comment options

@realroot2185
Comment options

@ahayzen-kdab
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants