* cosmetic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23480 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-03-05 15:45:43 +00:00
parent 791b82457d
commit cfac27699a

View File

@ -1173,7 +1173,7 @@ TabWorkArea::TabWorkArea(QWidget * parent) : QTabWidget(parent)
this, SLOT(on_currentTabChanged(int))); this, SLOT(on_currentTabChanged(int)));
QToolButton * closeBufferButton = new QToolButton(this); QToolButton * closeBufferButton = new QToolButton(this);
closeBufferButton->setPalette(pal); closeBufferButton->setPalette(pal);
// FIXME: rename the icon to closebuffer.png // FIXME: rename the icon to closebuffer.png
closeBufferButton->setIcon(QIcon(":/images/closetab.png")); closeBufferButton->setIcon(QIcon(":/images/closetab.png"));
closeBufferButton->setText("Close File"); closeBufferButton->setText("Close File");
@ -1186,7 +1186,7 @@ TabWorkArea::TabWorkArea(QWidget * parent) : QTabWidget(parent)
setCornerWidget(closeBufferButton, Qt::TopRightCorner); setCornerWidget(closeBufferButton, Qt::TopRightCorner);
QToolButton * closeTabButton = new QToolButton(this); QToolButton * closeTabButton = new QToolButton(this);
closeTabButton->setPalette(pal); closeTabButton->setPalette(pal);
closeTabButton->setIcon(QIcon(":/images/hidetab.png")); closeTabButton->setIcon(QIcon(":/images/hidetab.png"));
closeTabButton->setText("Hide tab"); closeTabButton->setText("Hide tab");
closeTabButton->setAutoRaise(true); closeTabButton->setAutoRaise(true);