summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-10-19 02:58:50 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-10-19 13:53:30 +0200
commit86a98264dc20ba709b5da5eca914175f6a5f9c5d (patch)
tree8ef1ae4442b99e729c166445fa5a2f7d012d7734
parent77d5afb6c56c05211f79fe1b1656837a854bc650 (diff)
downloadkbiff-86a98264dc20ba709b5da5eca914175f6a5f9c5d.tar.gz
kbiff-86a98264dc20ba709b5da5eca914175f6a5f9c5d.zip
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> (cherry picked from commit e41bb0490d884fc8fb817cf64a3f015b32888180)
-rw-r--r--CMakeLists.txt2
-rw-r--r--kbiff/setupdlg.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06bb19a..9a3bbd0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,7 +65,7 @@ include( ConfigureChecks.cmake )
###### global compiler settings
-add_definitions( -DHAVE_CONFIG_H -UQT_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" )
diff --git a/kbiff/setupdlg.cpp b/kbiff/setupdlg.cpp
index 6797513..dbab445 100644
--- a/kbiff/setupdlg.cpp
+++ b/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);