Explorar o código

Fixed some warnings

Marco Nolden %!s(int64=14) %!d(string=hai) anos
pai
achega
532d9b67f9
Modificáronse 2 ficheiros con 0 adicións e 4 borrados
  1. 0 1
      Libs/Widgets/ctkDateRangeWidget.cpp
  2. 0 3
      Libs/Widgets/ctkFlowLayout.cpp

+ 0 - 1
Libs/Widgets/ctkDateRangeWidget.cpp

@@ -192,7 +192,6 @@ void ctkDateRangeWidget::setDateTimeRange(QDateTime startDateTime, QDateTime end
 // --------------------------------------------------------------------------
 void ctkDateRangeWidget::setDateRange(QDate startDate, QDate endDate)
 {
-  Q_D(const ctkDateRangeWidget);
   this->setDateTimeRange(QDateTime(startDate), QDateTime(endDate));
 }
 

+ 0 - 3
Libs/Widgets/ctkFlowLayout.cpp

@@ -69,7 +69,6 @@ ctkFlowLayoutPrivate::ctkFlowLayoutPrivate(ctkFlowLayout& object)
 // --------------------------------------------------------------------------
 void ctkFlowLayoutPrivate::init()
 {
-  Q_Q(ctkFlowLayout);
 }
 
 // --------------------------------------------------------------------------
@@ -318,8 +317,6 @@ void ctkFlowLayout::addItem(QLayoutItem *item)
 // --------------------------------------------------------------------------
 Qt::Orientations ctkFlowLayout::expandingDirections() const
 {
-  Q_D(const ctkFlowLayout);
-  //return d->Orientation;
   return Qt::Vertical | Qt::Horizontal;
 }