Commit cfe24520 authored by Jan Möbius's avatar Jan Möbius

Fixed some warnings in core

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5601 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 16960e0b
......@@ -98,7 +98,7 @@ void CoreWidget::updatePopupMenuNode(QMenu* _menu , ACG::SceneGraph::BaseNode* _
* @param _menu Pointer to the context Menu
* @param _part id of the coordsys part which has been clicked on.
*/
void CoreWidget::updatePopupMenuCoordsysNode(QMenu* _menu , const int _part) {
void CoreWidget::updatePopupMenuCoordsysNode(QMenu* _menu , const int /*_part*/) {
// std::cerr << "Coordsys part was : " << _part << std::endl;
QAction* typeEntry = new QAction("Viewer Settings",_menu);
_menu->addAction( typeEntry );
......@@ -237,7 +237,7 @@ void CoreWidget::updatePopupMenuCoordsysNode(QMenu* _menu , const int _part) {
* @param _menu Pointer to the context Menu
* @param _point position in the viewer where the user clicked.
*/
void CoreWidget::updatePopupMenuBackground(QMenu* _menu , const QPoint& _point) {
void CoreWidget::updatePopupMenuBackground(QMenu* _menu , const QPoint& /*_point*/) {
//====================================================================================================
// DrawModes
......
......@@ -121,7 +121,7 @@ void QtGLViewerLayout::removeAt (int _index)
//-----------------------------------------------------------------------------
QSizeF QtGLViewerLayout::sizeHint(Qt::SizeHint _which, const QSizeF & _constraint) const
QSizeF QtGLViewerLayout::sizeHint(Qt::SizeHint /*_which*/, const QSizeF & _constraint) const
{
return _constraint;
}
......
......@@ -116,7 +116,7 @@ void QtMultiViewLayout::removeAt (int _index)
//-----------------------------------------------------------------------------
QSizeF QtMultiViewLayout::sizeHint(Qt::SizeHint _which, const QSizeF & _constraint) const
QSizeF QtMultiViewLayout::sizeHint(Qt::SizeHint /*_which*/, const QSizeF & _constraint) const
{
return _constraint;
}
......
......@@ -163,8 +163,8 @@ void QtSlideWindow::detachWidget ()
//-----------------------------------------------------------------------------
void QtSlideWindow::paintWindowFrame(QPainter *_painter,
const QStyleOptionGraphicsItem *_option,
QWidget *_widget)
const QStyleOptionGraphicsItem* /*_option*/,
QWidget* /*_widget*/ )
{
int w = geometry().width();
int h = geometry().height();
......
......@@ -135,7 +135,7 @@ void HelpWidget::searchItems() {
searchWidget_->show();
}
void HelpWidget::openFoundSite(QListWidgetItem* _item) {
void HelpWidget::openFoundSite(QListWidgetItem* /*_item*/) {
}
......
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