summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-09 20:21:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-09 20:21:46 +0200
commitc234ab1c8462a5c64a55b409051342fc2ba0a0c9 (patch)
tree30bf0496a346aa482189e0694df8e279afb08720 /src/tabbar.cpp
parentUpdated TODO (diff)
downloadrekonq-c234ab1c8462a5c64a55b409051342fc2ba0a0c9.tar.xz
Removed unuseful tabbar code
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index ef4fbb7c..65d9bba0 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -50,15 +50,6 @@ TabBar::TabBar(QWidget *parent)
setAcceptDrops(true);
connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(contextMenuRequested(const QPoint &)));
-
-// // we count to 9 because Ctrl+0 is already taken by Normal Font
-// for (int i = 1; i < 10; ++i)
-// {
-// QShortcut *tabShortCut = new QShortcut(QString("Ctrl+%1").arg(i), this);
-// connect(tabShortCut, SIGNAL(activated()), this, SLOT(selectTabAction()));
-// m_tabShortcuts.append(tabShortCut);
-// }
-
QFont standardFont = KGlobalSettings::generalFont();
QString fontFamily = standardFont.family();
int dim = standardFont.pointSize();
@@ -99,19 +90,6 @@ QSize TabBar::tabSizeHint(int index) const
return ts;
}
-
-// void TabBar::selectTabAction()
-// {
-// if (QShortcut *shortCut = qobject_cast<QShortcut*>(sender()))
-// {
-// int index = m_tabShortcuts.indexOf(shortCut);
-// if (index != 0)
-// {
-// setCurrentIndex(index);
-// }
-// }
-// }
-
void TabBar::contextMenuRequested(const QPoint &position)
{