--- a/src/qtgui/recollmain.ui
+++ b/src/qtgui/recollmain.ui
@@ -49,6 +49,31 @@
                         <property name="name">
                             <cstring>unnamed</cstring>
                         </property>
+                        <widget class="QPushButton">
+                            <property name="name">
+                                <cstring>clearqPB</cstring>
+                            </property>
+                            <property name="enabled">
+                                <bool>false</bool>
+                            </property>
+                            <property name="text">
+                                <string>Clear</string>
+                            </property>
+                            <property name="accel">
+                                <string>Ctrl+S</string>
+                            </property>
+                        </widget>
+                        <widget class="QPushButton">
+                            <property name="name">
+                                <cstring>searchPB</cstring>
+                            </property>
+                            <property name="enabled">
+                                <bool>false</bool>
+                            </property>
+                            <property name="text">
+                                <string>Search</string>
+                            </property>
+                        </widget>
                         <widget class="QLineEdit">
                             <property name="name">
                                 <cstring>queryText</cstring>
@@ -72,31 +97,6 @@
                             </property>
                             <property name="frameShadow">
                                 <enum>Sunken</enum>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton">
-                            <property name="name">
-                                <cstring>searchPB</cstring>
-                            </property>
-                            <property name="enabled">
-                                <bool>false</bool>
-                            </property>
-                            <property name="text">
-                                <string>Search</string>
-                            </property>
-                        </widget>
-                        <widget class="QPushButton">
-                            <property name="name">
-                                <cstring>clearqPB</cstring>
-                            </property>
-                            <property name="enabled">
-                                <bool>false</bool>
-                            </property>
-                            <property name="text">
-                                <string>Clear</string>
-                            </property>
-                            <property name="accel">
-                                <string>Ctrl+S</string>
                             </property>
                         </widget>
                     </hbox>