Skip to content

Question about qt_sink class constructor #2055

Closed
@ashley-b

Description

When I was directly constructing a qt_sink in a multi sink arrangement with a file logger. I found It was displaying nothing till I released I was missing meta_method since it defaults to an empty string. I think the arguments qt_object and meta_method should not have default as it does make sense, since there are no setters to change theses values after construction.

qt_sink(QObject *qt_object = nullptr, const std::string &meta_method = "") {

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions