-Theme::Theme(const string &filename, const vector<string> &search_dirs, ResourcePool *resource_pool)
- : resource_pool(resource_pool), signal_to_card_mapping(global_flags.default_stream_mapping)
+Theme::Theme(const string &filename, const vector<string> &search_dirs, ResourcePool *resource_pool, QSurface *surface)
+ : resource_pool(resource_pool), signal_to_card_mapping(global_flags.default_stream_mapping), surface(surface)