Skip to content

Commit

Permalink
back to using setStyleSheet to set the fontsize
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 18, 2012
1 parent 6a8a9d4 commit af7af6e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/qgisapp.cpp
Expand Up @@ -1024,9 +1024,7 @@ void QgisApp::createActionGroups()

void QgisApp::setFontSize( int fontSize )
{
QFont theFont = font();
theFont.setPointSize( fontSize );
setFont( theFont );
setStyleSheet( QString( "font-size: %1pt; " ).arg( fontSize ) );
}

void QgisApp::createMenus()
Expand Down

0 comments on commit af7af6e

Please sign in to comment.