Skip to content

Commit

Permalink
remove phantom toolbar
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9053 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 12, 2008
1 parent 9b6cbea commit 9db5c1d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
11 changes: 0 additions & 11 deletions src/plugins/dxf2shp_converter/dxf2shpconverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@
#include <QAction>
#include <QToolBar>



#ifdef WIN32
#define QGISEXTERN extern "C" __declspec( dllexport )
#else
#define QGISEXTERN extern "C"
#endif

static const char *const sIdent =
"$Id: plugin.cpp 6935 2007-05-07 14:29:51Z wonder $";
static const QString sName = QObject::tr("Dxf2Shp Converter");
Expand Down Expand Up @@ -82,9 +74,6 @@ void dxf2shpConverter::initGui()
"Converts DXF files in Shapefile format"));
// Connect the action to the run
connect(mQActionPointer, SIGNAL(activated()), this, SLOT(run()));
// Add the toolbar
mToolBarPointer = new QToolBar(mQGisIface->getMainWindow());
//mToolBarPointer->setLabel("Dxf2Shp Converter");
// Add the icon to the toolbar
mQGisIface->addToolBarIcon(mQActionPointer);
mQGisIface->addPluginMenu("&Dxf2Shp", mQActionPointer);
Expand Down
3 changes: 0 additions & 3 deletions src/plugins/dxf2shp_converter/dxf2shpconverter.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

//forward declarations
class QAction;
class QToolBar;

class QgisInterface;

Expand Down Expand Up @@ -74,8 +73,6 @@ class dxf2shpConverter: public QObject, public QgisPlugin
////////////////////////////////////////////////////////////////////

int mPluginType;
//! Pointer to our toolbar
QToolBar *mToolBarPointer;
//! Pointer to the QGIS interface object
QgisInterface *mQGisIface;
//!pointer to the qaction for this plugin
Expand Down

0 comments on commit 9db5c1d

Please sign in to comment.