[qet] [1964] Replace icon QET::Icons::arrowleft by QET::Icons::Start

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 1964
Author:   cfdev
Date:     2012-11-10 17:33:51 +0100 (Sat, 10 Nov 2012)
Log Message:
-----------
Replace icon QET::Icons::arrowleft by QET::Icons::Start

Modified Paths:
--------------
    trunk/sources/titleblockpropertieswidget.cpp

Modified: trunk/sources/titleblockpropertieswidget.cpp
===================================================================
--- trunk/sources/titleblockpropertieswidget.cpp	2012-11-10 16:04:51 UTC (rev 1963)
+++ trunk/sources/titleblockpropertieswidget.cpp	2012-11-10 16:33:51 UTC (rev 1964)
@@ -297,13 +297,11 @@
 	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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/