瀏覽代碼

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 3 年之前
父節點
當前提交
e41bb0490d
簽署人: SlavekB GPG Key ID: 608F5293A04BE668
  1. 2
      CMakeLists.txt
  2. 2
      kbiff/setupdlg.cpp

2
CMakeLists.txt

@ -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" )

2
kbiff/setupdlg.cpp

@ -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…
取消
儲存