forked from openlp/openlp
Raoul Snyman
68f37e635a
- Fix an issue where an exception was thrown because the theme progress form didn't exist yet - Refactor a few things - Fix other tests - Add a test for wait_for
11 lines
287 B
JavaScript
11 lines
287 B
JavaScript
// This is a mock QWebChannel
|
|
var qt = {webChannelTransport: 1};
|
|
var displayWatcher = {
|
|
setInitialised: function (is_initialised) {
|
|
// do nothing
|
|
}
|
|
}
|
|
var QWebChannel = function (transport, callback) {
|
|
callback({objects: {mediaWatcher: {}, displayWatcher: displayWatcher}});
|
|
};
|