diff --git a/src/plugins/dxf2shp_converter/dxf2shpconverter.cpp b/src/plugins/dxf2shp_converter/dxf2shpconverter.cpp index 4263eb3f3d2..c504a91b254 100644 --- a/src/plugins/dxf2shp_converter/dxf2shpconverter.cpp +++ b/src/plugins/dxf2shp_converter/dxf2shpconverter.cpp @@ -32,14 +32,6 @@ #include #include - - -#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); diff --git a/src/plugins/dxf2shp_converter/dxf2shpconverter.h b/src/plugins/dxf2shp_converter/dxf2shpconverter.h index 6c593e416bb..c4f170f8540 100644 --- a/src/plugins/dxf2shp_converter/dxf2shpconverter.h +++ b/src/plugins/dxf2shp_converter/dxf2shpconverter.h @@ -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