Commit 9edf6d56 authored by Timothy M. Shead's avatar Timothy M. Shead
Browse files

COMP: Eliminate compile-time warnings

parent d9ce615d
......@@ -17,7 +17,7 @@ pqAbstractButtonEventTranslator::pqAbstractButtonEventTranslator() :
{
}
bool pqAbstractButtonEventTranslator::translateEvent(QObject* Object, QEvent* Event, bool& Error)
bool pqAbstractButtonEventTranslator::translateEvent(QObject* Object, QEvent* Event, bool& /*Error*/)
{
QAbstractButton* const object = qobject_cast<QAbstractButton*>(Object);
if(!object)
......
......@@ -17,7 +17,7 @@ pqAbstractSliderEventTranslator::pqAbstractSliderEventTranslator() :
{
}
bool pqAbstractSliderEventTranslator::translateEvent(QObject* Object, QEvent* Event, bool& Error)
bool pqAbstractSliderEventTranslator::translateEvent(QObject* Object, QEvent* Event, bool& /*Error*/)
{
QAbstractSlider* const object = qobject_cast<QAbstractSlider*>(Object);
if(!object)
......@@ -33,6 +33,8 @@ bool pqAbstractSliderEventTranslator::translateEvent(QObject* Object, QEvent* Ev
disconnect(Object, 0, this, 0);
this->CurrentObject = 0;
break;
default:
break;
}
return true;
......
......@@ -30,8 +30,10 @@ signals:
protected:
pqWidgetEventTranslator() {}
pqWidgetEventTranslator(const pqWidgetEventTranslator&) {}
pqWidgetEventTranslator& operator=(const pqWidgetEventTranslator&) { return *this; }
private:
pqWidgetEventTranslator(const pqWidgetEventTranslator&);
pqWidgetEventTranslator& operator=(const pqWidgetEventTranslator&);
};
#endif // !_pqWidgetEventTranslator_h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment