Changeset View
Changeset View
Standalone View
Standalone View
sinksh/syntax_modules/sink_livequery.cpp
Context not available. | |||||
51 | 51 | | |||
---|---|---|---|---|---|
52 | auto type = options.positionalArguments.isEmpty() ? QString{} : options.positionalArguments.first(); | 52 | auto type = options.positionalArguments.isEmpty() ? QString{} : options.positionalArguments.first(); | ||
53 | 53 | | |||
54 | bool asLine = true; | | |||
55 | | ||||
56 | Sink::Query query; | 54 | Sink::Query query; | ||
57 | query.setId("livequery"); | 55 | query.setId("livequery"); | ||
58 | query.setFlags(Sink::Query::LiveQuery); | 56 | query.setFlags(Sink::Query::LiveQuery); | ||
Context not available. | |||||
85 | } else { | 83 | } else { | ||
86 | query.requestedProperties = SinkshUtils::requestedProperties(type); | 84 | query.requestedProperties = SinkshUtils::requestedProperties(type); | ||
87 | } | 85 | } | ||
88 | } else { | | |||
89 | asLine = false; | | |||
90 | } | 86 | } | ||
91 | 87 | | |||
92 | QByteArrayList toPrint; | 88 | QByteArrayList toPrint; | ||
Context not available. |