mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
remove phantom toolbar
git-svn-id: http://svn.osgeo.org/qgis/trunk@9053 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
9b6cbeab28
commit
9db5c1dc23
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user