Skip to content
Permalink
Browse files

Refactored to remove redundant 'Table' from name of dock class

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11616 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Sep 10, 2009
1 parent 10f5fba commit ef5a14c94ee8773a5457455091f1db6e03e3f355
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/attributetable/qgsattributetabledialog.cpp
@@ -33,10 +33,10 @@
#include "qgsmapcanvas.h"


class QgsAttributeTableTableDock : public QDockWidget
class QgsAttributeTableDock : public QDockWidget
{
public:
QgsAttributeTableTableDock( const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = 0 )
QgsAttributeTableDock( const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = 0 )
: QDockWidget( title, parent, flags )
{
setObjectName( "AttributeTable" ); // set object name so the position can be saved
@@ -73,7 +73,7 @@ QgsAttributeTableDialog::QgsAttributeTableDialog( QgsVectorLayer *theLayer, QWid
bool myDockFlag = mySettings.value( "/qgis/dockAttributeTable", false ).toBool();
if ( myDockFlag )
{
mDock = new QgsAttributeTableTableDock( tr( "Attribute table - %1" ).arg( mLayer->name() ), QgisApp::instance() );
mDock = new QgsAttributeTableDock( tr( "Attribute table - %1" ).arg( mLayer->name() ), QgisApp::instance() );
mDock->setAllowedAreas( Qt::BottomDockWidgetArea | Qt::TopDockWidgetArea );
mDock->setWidget( this );
QgisApp::instance()->addDockWidget( Qt::BottomDockWidgetArea, mDock );

0 comments on commit ef5a14c

Please sign in to comment.
You can’t perform that action at this time.