try to clean the code...

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1961 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
cfdev
2012-11-10 15:35:15 +00:00
parent 160ccec733
commit 71f79ccce6
2 changed files with 9 additions and 9 deletions

View File

@@ -300,8 +300,8 @@ void TitleBlockPropertiesWidget::initWidgets(const TitleBlockProperties &titlebl
titleblock_dateNow = new QPushButton (this); titleblock_dateNow = new QPushButton (this);
titleblock_dateNow -> setEnabled(titleblock_fixed_date -> isChecked()); titleblock_dateNow -> setEnabled(titleblock_fixed_date -> isChecked());
QIcon icon_dateNow(QET::Icons::ArrowLeft); QIcon icon_dateNow(QET::Icons::ArrowLeft);
titleblock_dateNow->setIcon(icon_dateNow); titleblock_dateNow -> setIcon(icon_dateNow);
titleblock_dateNow->setIconSize(QSize(16, 16)); titleblock_dateNow -> setIconSize(QSize(16, 16));
connect(titleblock_fixed_date, SIGNAL(toggled(bool)), titleblock_dateNow, SLOT(setEnabled(bool))); connect(titleblock_fixed_date, SIGNAL(toggled(bool)), titleblock_dateNow, SLOT(setEnabled(bool)));
connect(titleblock_dateNow, SIGNAL(clicked()), this, SLOT(setDateNow())); connect(titleblock_dateNow, SIGNAL(clicked()), this, SLOT(setDateNow()));
@@ -413,5 +413,5 @@ void TitleBlockPropertiesWidget::initLayouts() {
Set the current Date to the combo Date Set the current Date to the combo Date
*/ */
void TitleBlockPropertiesWidget::setDateNow(){ void TitleBlockPropertiesWidget::setDateNow(){
titleblock_date->setDate( QDate::currentDate() ); titleblock_date -> setDate( QDate::currentDate() );
} }