Commit 790bb7c0 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13354 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d6b5fb2f
...@@ -50,6 +50,14 @@ ...@@ -50,6 +50,14 @@
#include "OpenFlipper/BasePlugin/PluginFunctions.hh" #include "OpenFlipper/BasePlugin/PluginFunctions.hh"
#include <OpenFlipper/common/GlobalOptions.hh> #include <OpenFlipper/common/GlobalOptions.hh>
SlicePlugin::SlicePlugin() :
tool_(0),
toolIcon_(0),
node_(0)
{
}
void SlicePlugin::initializePlugin(){ void SlicePlugin::initializePlugin(){
//init the slice node //init the slice node
node_ = new ACG::SceneGraph::ClippingNode(0,"Clipping Node"); node_ = new ACG::SceneGraph::ClippingNode(0,"Clipping Node");
...@@ -65,12 +73,12 @@ void SlicePlugin::initializePlugin(){ ...@@ -65,12 +73,12 @@ void SlicePlugin::initializePlugin(){
QSize size(300, 300); QSize size(300, 300);
tool_->resize(size); tool_->resize(size);
bbGroup = new QButtonGroup(); QButtonGroup* bbGroup = new QButtonGroup();
bbGroup->setExclusive( true ); bbGroup->setExclusive( true );
bbGroup->addButton( tool_->radioAll ); bbGroup->addButton( tool_->radioAll );
bbGroup->addButton( tool_->radioTarget ); bbGroup->addButton( tool_->radioTarget );
axisGroup = new QButtonGroup(); QButtonGroup* axisGroup = new QButtonGroup();
axisGroup->setExclusive( true ); axisGroup->setExclusive( true );
axisGroup->addButton( tool_->radioX ); axisGroup->addButton( tool_->radioX );
axisGroup->addButton( tool_->radioY ); axisGroup->addButton( tool_->radioY );
......
...@@ -78,7 +78,7 @@ private slots: ...@@ -78,7 +78,7 @@ private slots:
void initializePlugin(); // BaseInterface void initializePlugin(); // BaseInterface
public : public :
SlicePlugin();
~SlicePlugin() {}; ~SlicePlugin() {};
QString name() { return (QString("Slice")); }; QString name() { return (QString("Slice")); };
...@@ -87,8 +87,6 @@ public : ...@@ -87,8 +87,6 @@ public :
private : private :
SliceToolBox* tool_; SliceToolBox* tool_;
QIcon* toolIcon_; QIcon* toolIcon_;
QButtonGroup* bbGroup;
QButtonGroup* axisGroup;
void getBoundingBox(ACG::Vec3d& bbmin, ACG::Vec3d& bbmax); void getBoundingBox(ACG::Vec3d& bbmin, ACG::Vec3d& bbmax);
......
Supports Markdown
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