浏览代码

Fix "switch" host command

Vincent Lang 9 年之前
父节点
当前提交
baa9d410bd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/display/DisplayComponent.h

+ 1 - 1
src/display/DisplayComponent.h

@@ -39,7 +39,7 @@ public:
   //    i: change to interlaced
   //    p: change to progressive ("not interlaced")
   // Example: "123x456 p 45hz"
-  void switchCommand(QString command);
+  Q_INVOKABLE void switchCommand(QString command);
 
   double currentRefreshRate();