summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-01-08 01:49:02 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-01-08 01:49:02 +0100
commite584eeaf35a7db2ee6e5c63ef3fcf32b92474df1 (patch)
treeaa7708dd15cc45e51af6e70b4c10a3361f891ebb /src/mainwindow.cpp
parentRemoved setFocus from lineEdit->currentWebview so that people can switch (diff)
downloadrekonq-e584eeaf35a7db2ee6e5c63ef3fcf32b92474df1.tar.xz
Little changes..
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index d99ccd46..9813cf1e 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -77,7 +77,6 @@ MainWindow::MainWindow()
connect(m_tabWidget, SIGNAL( printRequested(QWebFrame *)), this, SLOT( printRequested(QWebFrame *) ) );
connect(m_tabWidget, SIGNAL( menuBarVisibilityChangeRequested(bool)), menuBar(), SLOT( setVisible(bool) ) );
connect(m_tabWidget, SIGNAL( statusBarVisibilityChangeRequested(bool)), statusBar(), SLOT( setVisible(bool) ) );
-// connect(m_tabWidget, SIGNAL( toolBarVisibilityChangeRequested(bool) ), m_navigationBar, SLOT( setVisible(bool) ) );
connect(m_tabWidget, SIGNAL( lastTabClosed() ), m_tabWidget, SLOT(newTab() ) );
slotUpdateWindowTitle();
@@ -223,7 +222,7 @@ void MainWindow::setupActions()
void MainWindow::setupCustomMenu()
{
- // ------------------------------------------------------------- HISTORY MENU--------------------------------------------------------------------------------------------------
+ // -------------------------------- HISTORY MENU -----------------------------------------------------------------------
HistoryMenu *historyMenu = new HistoryMenu(this);
connect(historyMenu, SIGNAL(openUrl(const KUrl&)), m_tabWidget, SLOT(loadUrlInCurrentTab(const KUrl&)));
connect(historyMenu, SIGNAL(hovered(const QString&)), this, SLOT(slotUpdateStatusbar(const QString&)));
@@ -237,12 +236,12 @@ void MainWindow::setupCustomMenu()
historyActions.append( m_tabWidget->recentlyClosedTabsAction() );
historyMenu->setInitialActions(historyActions);
- // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+ //--------------------------------------------------------------------------------------------------------------
- // --------------------------------------------- BOOKMARKS MENU -----------------------------------------------------------------------------------------------------
+ // ------------------------------ BOOKMARKS MENU --------------------------------------------------------------
- // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+ // -------------------------------------------------------------------------------------------------------------
}
KUrl MainWindow::guessUrlFromString(const QString &string)
@@ -444,8 +443,9 @@ void MainWindow::slotPrivateBrowsing()
// if (m_tabWidget->count() > 1)
// {
// int ret = KMessageBox::warningYesNo(this,
-// i18n("Are you sure you want to close the window?" " There are %1 tab open" , m_tabWidget->count() ) ,
-// i18n("Closing") );
+// i18n("Are you sure you want to close the window?" " There are %1 tab open" , m_tabWidget->count() ),
+// i18n("Closing")
+// );
// if (ret == KMessageBox::No)
// {
// event->ignore();