diff --git a/Qt.py b/Qt.py
index <HASH>..<HASH> 100644
--- a/Qt.py
+++ b/Qt.py
@@ -833,12 +833,6 @@ def _loadUi(uifile, baseinstance=None):
         return the newly created instance of the user interface.
 
     """
-    # Not sure where this code came from.
-    # if hasattr(baseinstance, "layout") and baseinstance.layout():
-    #     message = ("QLayout: Attempting to add Layout to %s which "
-    #                "already has a layout")
-    #     raise RuntimeError(message % (baseinstance))
-
     if hasattr(Qt, "_uic"):
         return Qt._uic.loadUi(uifile, baseinstance)
Removing commented code. @mottosso confirmed it was unneeded. Must have been something I added at some point.