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:09 +0900
commiteab9fa1d6f796d21e11df0516fc4b00f0f020946 (patch)
tree49aa5d4687d7296973c286b8e068aa1778db5469
parenta9f14b384ea91c6e1792f9c3782224d53367c325 (diff)
downloadtderadio-eab9fa1d6f796d21e11df0516fc4b00f0f020946.tar.gz
tderadio-eab9fa1d6f796d21e11df0516fc4b00f0f020946.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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();
}