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 2ea2095..288d988 100644 (file)
@@ -47,7 +47,7 @@ void DayNavigatorWidget::setDates(const QDate &aStartDate, const QDate &aEndDate
     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
     {
index 28aab86..480c91a 100644 (file)
@@ -59,7 +59,7 @@ bool TreeView::testForControlClicked(const QModelIndex &aIndex, const QPoint &aP
         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))
     {