From 371c9299629d572aa36e03c51884e66a9729f363 Mon Sep 17 00:00:00 2001 From: cfdev Date: Sat, 10 Nov 2012 16:33:51 +0000 Subject: [PATCH] Replace icon QET::Icons::arrowleft by QET::Icons::Start git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1964 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/titleblockpropertieswidget.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sources/titleblockpropertieswidget.cpp b/sources/titleblockpropertieswidget.cpp index 6990e4586..5635e3951 100644 --- a/sources/titleblockpropertieswidget.cpp +++ b/sources/titleblockpropertieswidget.cpp @@ -297,13 +297,11 @@ void TitleBlockPropertiesWidget::initWidgets(const TitleBlockProperties &titlebl connect(titleblock_fixed_date, SIGNAL(toggled(bool)), titleblock_date, SLOT(setEnabled(bool))); titleblock_date -> setCalendarPopup(true); - titleblock_date_now = new QPushButton (this); + titleblock_date_now = new QPushButton (QET::Icons::Start, "", this); titleblock_date_now -> setEnabled(titleblock_fixed_date -> isChecked()); - QIcon icon_date_now(QET::Icons::ArrowLeft); - titleblock_date_now -> setIcon(icon_date_now); titleblock_date_now -> setIconSize(QSize(16, 16)); connect(titleblock_fixed_date, SIGNAL(toggled(bool)), titleblock_date_now, SLOT(setEnabled(bool))); - connect(titleblock_date_now, SIGNAL(clicked()), this, SLOT(setdate_now())); + connect(titleblock_date_now, SIGNAL(clicked()), this, SLOT(setDate_now())); // we add a bunch of tooltips for users to know how they can put these // values into their title block templates