Removed two unused variables to avoid compiler warnings.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 24 Jun 2011 14:31:35 +0000 (14:31 +0000)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 24 Jun 2011 14:31:35 +0000 (14:31 +0000)
src/gui/daynavigatorwidget.cpp
src/mvc/treeview.cpp

index 2ea209521361d398a7a04d37ed0b733240611259..288d98813cdcf5362473f05755989234744f88a1 100644 (file)
@@ -47,7 +47,7 @@ void DayNavigatorWidget::setDates(const QDate &aStartDate, const QDate &aEndDate
     mEndDate = aEndDate;
     mCurDate = aStartDate;
 
     mEndDate = aEndDate;
     mCurDate = aStartDate;
 
-    QRect rect = mFontMetrics->boundingRect(mCurDate.toString("MMM dd yyyy"));
+    // QRect rect = mFontMetrics->boundingRect(mCurDate.toString("MMM dd yyyy"));
 
     if(mStartDate==mEndDate) // only one day conference
     {
 
     if(mStartDate==mEndDate) // only one day conference
     {
index 28aab869bd4b161f4ab1b8ddfe9cbe98f1d7a326..480c91a33a6b0cdc46a1d605d9d3b7ad3c3d28d6 100644 (file)
@@ -59,7 +59,7 @@ bool TreeView::testForControlClicked(const QModelIndex &aIndex, const QPoint &aP
         return handled;
 
     int confId = Conference::activeConference();
         return handled;
 
     int confId = Conference::activeConference();
-    QRect rect = visualRect(aIndex); // visual QRect of selected/clicked item in the list
+    // QRect rect = visualRect(aIndex); // visual QRect of selected/clicked item in the list
     Delegate *delegate = static_cast<Delegate*>(itemDelegate(aIndex));
     switch(delegate->whichControlClicked(aIndex,aPoint))
     {
     Delegate *delegate = static_cast<Delegate*>(itemDelegate(aIndex));
     switch(delegate->whichControlClicked(aIndex,aPoint))
     {