Change from TQFont::defaultFont to TQApplication::font

The definition of -UTQT_NO_COMPAT is no longer needed.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent 3e2052d2d4
commit e41bb0490d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -65,7 +65,7 @@ include( ConfigureChecks.cmake )
###### global compiler settings
add_definitions( -DHAVE_CONFIG_H -UTQT_NO_COMPAT )
add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )

@ -1932,7 +1932,7 @@ KBiffAboutTab::KBiffAboutTab(TQWidget *parent_)
pixmap_label->setPixmap(logo_pixmap);
// we want a bigger logo
TQFont logo_font = TQFont::defaultFont();
TQFont logo_font = TQApplication::font();
logo_font.setPointSize(logo_font.pointSize() * 1.5);
logo_font.setBold(true);

Loading…
Cancel
Save