[QGIS Commit] r9053 - trunk/qgis/src/plugins/dxf2shp_converter
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Tue Aug 12 17:22:55 EDT 2008
Author: jef
Date: 2008-08-12 17:22:55 -0400 (Tue, 12 Aug 2008)
New Revision: 9053
Modified:
trunk/qgis/src/plugins/dxf2shp_converter/dxf2shpconverter.cpp
trunk/qgis/src/plugins/dxf2shp_converter/dxf2shpconverter.h
Log:
remove phantom toolbar
Modified: trunk/qgis/src/plugins/dxf2shp_converter/dxf2shpconverter.cpp
===================================================================
--- trunk/qgis/src/plugins/dxf2shp_converter/dxf2shpconverter.cpp 2008-08-12 20:12:29 UTC (rev 9052)
+++ trunk/qgis/src/plugins/dxf2shp_converter/dxf2shpconverter.cpp 2008-08-12 21:22:55 UTC (rev 9053)
@@ -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 @@
"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);
Modified: trunk/qgis/src/plugins/dxf2shp_converter/dxf2shpconverter.h
===================================================================
--- trunk/qgis/src/plugins/dxf2shp_converter/dxf2shpconverter.h 2008-08-12 20:12:29 UTC (rev 9052)
+++ trunk/qgis/src/plugins/dxf2shp_converter/dxf2shpconverter.h 2008-08-12 21:22:55 UTC (rev 9053)
@@ -25,7 +25,6 @@
//forward declarations
class QAction;
-class QToolBar;
class QgisInterface;
@@ -74,8 +73,6 @@
////////////////////////////////////////////////////////////////////
int mPluginType;
- //! Pointer to our toolbar
- QToolBar *mToolBarPointer;
//! Pointer to the QGIS interface object
QgisInterface *mQGisIface;
//!pointer to the qaction for this plugin
More information about the QGIS-commit
mailing list