From eab9fa1d6f796d21e11df0516fc4b00f0f020946 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:36:13 +0900 Subject: [PATCH] Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- plugins/gui-quickbar/buttonflowlayout.cpp | 2 +- src/stationlist.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/gui-quickbar/buttonflowlayout.cpp b/plugins/gui-quickbar/buttonflowlayout.cpp index 950e519..0b49564 100644 --- a/plugins/gui-quickbar/buttonflowlayout.cpp +++ b/plugins/gui-quickbar/buttonflowlayout.cpp @@ -96,7 +96,7 @@ int ButtonFlowLayout::heightForWidth( int w ) const void ButtonFlowLayout::addItem( TQLayoutItem *item) { - list.append( TQT_TQLAYOUTITEM(item) ); + list.append( item ); } bool ButtonFlowLayout::hasHeightForWidth() const diff --git a/src/stationlist.cpp b/src/stationlist.cpp index 6f05f9d..6dc8643 100644 --- a/src/stationlist.cpp +++ b/src/stationlist.cpp @@ -387,7 +387,7 @@ bool StationList::readXML (const KURL &url, const IErrorLogClient &logger, bool } // preset file written with tderadio >= 0.3.0 else { - TQXmlInputSource tmp(TQT_TQIODEVICE(&presetFile)); + TQXmlInputSource tmp(&presetFile); xmlData = tmp.data(); }