Skip to content

Commit

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

git-svn-id: http://svn.osgeo.org/qgis/trunk@5102 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Mar 27, 2006
1 parent 608aa9c commit 62766b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/grass/qgsgrassplugin.cpp
Original file line number Diff line number Diff line change
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 62766b3

Please sign in to comment.