Merge branch 'new_panels_with_context_buttons' of https://vcs.maemo.org/git/situare...
[situare] / src / ui / routingpanel.cpp
index 9662506..7b7f132 100644 (file)
@@ -33,7 +33,7 @@ RoutingPanel::RoutingPanel(QWidget *parent)
                                                         ":/res/images/search_s.png",
                                                         "", this);
 
-    m_contextButtonLayout->addWidget(searchLocationButton, 0, 0);
+    m_contextButtonLayout->addWidget(searchLocationButton);
 
     m_routeButton = new ImageButton(":res/images/route_to_location.png",
                                     ":res/images/route_to_location_s.png", "", this);
@@ -83,7 +83,7 @@ RoutingPanel::RoutingPanel(QWidget *parent)
             this, SIGNAL(requestSearchLocation()));
 
     // CONTEXT BUTTONS
-    m_contextButtonLayout->addWidget(m_routeButton, 1, 0);
+    m_contextButtonLayout->addWidget(m_routeButton);
 }
 
 void RoutingPanel::clearListsSelections()