From 0df38951546386ad9bdd2235c6f06e1e62361ed6 Mon Sep 17 00:00:00 2001 From: ubbo Date: Thu, 1 May 2014 18:02:54 +0000 Subject: smaller + button for new tabs git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.4-beta@1095 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- textedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'textedit.cpp') diff --git a/textedit.cpp b/textedit.cpp index 4dabfd1..5a5216c 100644 --- a/textedit.cpp +++ b/textedit.cpp @@ -38,7 +38,7 @@ TextEdit::TextEdit() connect(tabWidget, SIGNAL(tabCloseRequested(int)), this, SLOT(removeTab(int))); slotNewEditorPageTab(); setAcceptDrops(false); - QPushButton *newButton = new QPushButton(QIcon(":button_plus.png"), ""); + QPushButton *newButton = new QPushButton(QIcon(":button_plus.png").pixmap(QSize(16,16)), ""); tabWidget->setCornerWidget(newButton,Qt::TopLeftCorner); connect(newButton, SIGNAL(clicked()), this, SLOT(slotNewEditorPageTab())); -- cgit v1.2.3