Ver Fonte

Fix "switch" host command

Vincent Lang há 9 anos atrás
pai
commit
baa9d410bd
1 ficheiros alterados com 1 adições e 1 exclusões
  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();