Commit 138553bb authored by Craig Watson's avatar Craig Watson

Added system OSK support for Windows

parent 5b7cf175
......@@ -440,5 +440,10 @@ void UBPlatformUtils::showFullScreen(QWidget *pWidget)
void UBPlatformUtils::showOSK(bool show)
{
Q_UNUSED(show);
// No system OSK support yet
QString windir = qgetenv("WINDIR");
QString osk_path = windir+"\\System32\\osk.exe";
QProcess newProcess;
newProcess.startDetached("explorer.exe", QStringList() << osk_path);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment