remove phantom toolbar

git-svn-id: http://svn.osgeo.org/qgis/trunk@9053 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2008-08-12 21:22:55 +00:00
parent 9b6cbeab28
commit 9db5c1dc23
2 changed files with 0 additions and 14 deletions

View File

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

View File

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