浏览代码

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
父节点
当前提交
e41bb0490d
签署人:: SlavekB <slavek.banko@axis.cz> GPG 密钥 ID: 608F5293A04BE668
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      CMakeLists.txt
  2. +1
    -1
      kbiff/setupdlg.cpp

+ 1
- 1
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" )


+ 1
- 1
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);



正在加载...
取消
保存