Fix crash when running debug build; use QString instead of C string
[multypo.git] / qt / multikbd.cpp
index c43dd20d18c80ac694dc701f7453de85ebaba33a..fb30f2125bf923e4748ae6fd955a7185dcecd1aa 100644 (file)
@@ -59,7 +59,7 @@ void MultiKBD::showEvent ( QShowEvent * )
        setFocus(Qt::OtherFocusReason);*/
 }
 
-void MultiKBD::handleKeyPress(int device, const char *string)
+void MultiKBD::handleKeyPress(int device, QString string)
 {
        qDebug() << "Device" << device << "String" << string;
 }