Browse Source

Fix "switch" host command

Vincent Lang 9 năm trước cách đây
mục cha
commit
baa9d410bd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();