Pārlūkot izejas kodu

Fix "switch" host command

Vincent Lang 9 gadi atpakaļ
vecāks
revīzija
baa9d410bd
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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();