Skip to content

Commit 9db5c1d

Browse files
author
jef
committed
remove phantom toolbar
git-svn-id: http://svn.osgeo.org/qgis/trunk@9053 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9b6cbea commit 9db5c1d

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/plugins/dxf2shp_converter/dxf2shpconverter.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@
3232
#include <QAction>
3333
#include <QToolBar>
3434

35-
36-
37-
#ifdef WIN32
38-
#define QGISEXTERN extern "C" __declspec( dllexport )
39-
#else
40-
#define QGISEXTERN extern "C"
41-
#endif
42-
4335
static const char *const sIdent =
4436
"$Id: plugin.cpp 6935 2007-05-07 14:29:51Z wonder $";
4537
static const QString sName = QObject::tr("Dxf2Shp Converter");
@@ -82,9 +74,6 @@ void dxf2shpConverter::initGui()
8274
"Converts DXF files in Shapefile format"));
8375
// Connect the action to the run
8476
connect(mQActionPointer, SIGNAL(activated()), this, SLOT(run()));
85-
// Add the toolbar
86-
mToolBarPointer = new QToolBar(mQGisIface->getMainWindow());
87-
//mToolBarPointer->setLabel("Dxf2Shp Converter");
8877
// Add the icon to the toolbar
8978
mQGisIface->addToolBarIcon(mQActionPointer);
9079
mQGisIface->addPluginMenu("&Dxf2Shp", mQActionPointer);

src/plugins/dxf2shp_converter/dxf2shpconverter.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
//forward declarations
2727
class QAction;
28-
class QToolBar;
2928

3029
class QgisInterface;
3130

@@ -74,8 +73,6 @@ class dxf2shpConverter: public QObject, public QgisPlugin
7473
////////////////////////////////////////////////////////////////////
7574

7675
int mPluginType;
77-
//! Pointer to our toolbar
78-
QToolBar *mToolBarPointer;
7976
//! Pointer to the QGIS interface object
8077
QgisInterface *mQGisIface;
8178
//!pointer to the qaction for this plugin

0 commit comments

Comments
 (0)