Skip to content
Permalink
Browse files
remove phantom toolbar
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9053 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 12, 2008
1 parent ec3859a commit 4d52da4a71c26af16c6515f6f330ea57e5580b64
@@ -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");
@@ -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);
@@ -25,7 +25,6 @@

//forward declarations
class QAction;
class QToolBar;

class QgisInterface;

@@ -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

0 comments on commit 4d52da4

Please sign in to comment.