Index: /trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp	(revision 23928)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp	(revision 23929)
@@ -1211,5 +1211,5 @@
     for (int i = 0; i < mSlotTemplates.size(); ++ i)
     {
-        regExp = QRegExp (mSlotTemplates [i].arg ("(\\d+)"));
+        regExp = QRegExp (i >= 0 && i <= 3 ? mSlotTemplates [i] : mSlotTemplates [i].arg ("(\\d+)"));
         if (regExp.indexIn (aSlot) != -1)
         {
