Skip to content
Permalink
Browse files

Set toolbar name the Qt4 way to get rid of runtime QMainWindow::save/…

…restoreState warnings.

git-svn-id: http://svn.osgeo.org/qgis/trunk@5102 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski
telwertowski committed Mar 27, 2006
1 parent 608aa9c commit 62766b3330e33814e4f5cfb6e56dbd6a9b540fbc
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/grass/qgsgrassplugin.cpp
@@ -207,9 +207,9 @@ void QgsGrassPlugin::initGui()
mNewVectorAction->addTo(pluginMenu);

// Add the toolbar to the main window
toolBarPointer = mQgis->addToolBar("GRASS");
toolBarPointer->setLabel(tr("GRASS"));
toolBarPointer = mQgis->addToolBar(tr("GRASS"));
toolBarPointer->setIconSize(QSize(24,24));
toolBarPointer->setObjectName("GRASS");

// Add to the toolbar
mAddVectorAction->addTo(toolBarPointer);

0 comments on commit 62766b3

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