Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set toolbar name the Qt4 way to get rid of runtime QMainWindow::save/…
…restoreState warnings.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5102 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Mar 27, 2006
1 parent b076f1d commit a755560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/grass/qgsgrassplugin.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit a755560

Please sign in to comment.