From d50df176f5792e6b3684b8627b80c1a8d4520a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Panzenb=C3=B6ck?= Date: Sun, 16 Feb 2014 20:32:58 +0100 Subject: [PATCH] removed strange part of regexp --- src/layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout.cpp b/src/layout.cpp index 8f14122..6ee135b 100644 --- a/src/layout.cpp +++ b/src/layout.cpp @@ -383,7 +383,7 @@ void LayoutManager::updateJoyDevs() { //set all joydevs anew (create new JoyPad's if necesary) QDir deviceDir(devdir); QStringList devices = deviceDir.entryList(QStringList("js*"), QDir::System); - QRegExp devicename(".*\\js(\\d+)"); + QRegExp devicename("js(\\d+)"); int joydev = -1; int index = -1; //for every joystick device in the directory listing...