summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:36:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 14:26:36 +0900
commit525e762e4cb9dfc3fdede7ecdb70931b8ad4aabe (patch)
treefeb375aeb2c7f54a98b11a4761bbe6b5eee258f1
parente76222b984cffa50b79c9fb02572ca7a234d7631 (diff)
downloadtderadio-525e762e4cb9dfc3fdede7ecdb70931b8ad4aabe.tar.gz
tderadio-525e762e4cb9dfc3fdede7ecdb70931b8ad4aabe.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit eab9fa1d6f796d21e11df0516fc4b00f0f020946)
-rw-r--r--plugins/gui-quickbar/buttonflowlayout.cpp2
-rw-r--r--src/stationlist.cpp2
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();
}