diff options
author | Slávek Banko <[email protected]> | 2018-10-19 02:58:50 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-10-19 13:53:30 +0200 |
commit | 86a98264dc20ba709b5da5eca914175f6a5f9c5d (patch) | |
tree | 8ef1ae4442b99e729c166445fa5a2f7d012d7734 | |
parent | 77d5afb6c56c05211f79fe1b1656837a854bc650 (diff) | |
download | kbiff-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 <[email protected]>
(cherry picked from commit e41bb0490d884fc8fb817cf64a3f015b32888180)
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | kbiff/setupdlg.cpp | 2 |
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); |