Changed deprecated use of signal closeRequested(int) to tabCloseRequested(int)

svn path=/trunk/KDE/kdebase/apps/; revision=933837
This commit is contained in:
Shaun Reich 2009-03-01 18:19:38 +00:00
parent 38572471e3
commit 86dd791791

View file

@ -923,7 +923,7 @@ void DolphinMainWindow::init()
m_tabBar->setTabsClosable(true); m_tabBar->setTabsClosable(true);
connect(m_tabBar, SIGNAL(currentChanged(int)), connect(m_tabBar, SIGNAL(currentChanged(int)),
this, SLOT(setActiveTab(int))); this, SLOT(setActiveTab(int)));
connect(m_tabBar, SIGNAL(closeRequest(int)), connect(m_tabBar, SIGNAL(tabCloseRequested(int)),
this, SLOT(closeTab(int))); this, SLOT(closeTab(int)));
connect(m_tabBar, SIGNAL(contextMenu(int, const QPoint&)), connect(m_tabBar, SIGNAL(contextMenu(int, const QPoint&)),
this, SLOT(openTabContextMenu(int, const QPoint&))); this, SLOT(openTabContextMenu(int, const QPoint&)));