Unreviewed. Add Silvia Pfeiffer to contributor list.
[WebKit-https.git] / Tools / QtTestBrowser / mainwindow.cpp
index bc65fbe..6821769 100644 (file)
@@ -57,15 +57,9 @@ MainWindow::MainWindow()
 
 void MainWindow::buildUI()
 {
-#if defined(Q_OS_SYMBIAN)
-    delete urlEdit;
-#endif
     delete m_toolBar;
 
     m_toolBar = addToolBar("Navigation");
-#if defined(Q_OS_SYMBIAN)
-    m_toolBar->setIconSize(QSize(16, 16));
-#endif
     QAction* reloadAction = page()->action(QWebPage::Reload);
     connect(reloadAction, SIGNAL(triggered()), this, SLOT(changeLocation()));
 
@@ -81,12 +75,7 @@ void MainWindow::buildUI()
     QCompleter* completer = new QCompleter(m_toolBar);
     urlEdit->setCompleter(completer);
     completer->setModel(&urlModel);
-#if defined(Q_OS_SYMBIAN)
-    addToolBarBreak();
-    addToolBar("Location")->addWidget(urlEdit);
-#else
     m_toolBar->addWidget(urlEdit);
-#endif
 
     connect(page()->mainFrame(), SIGNAL(urlChanged(QUrl)), this, SLOT(setAddressUrl(QUrl)));
     connect(page(), SIGNAL(loadProgress(int)), urlEdit, SLOT(setProgress(int)));