summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrBackground.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrBackground.cpp')
-rw-r--r--kpresenter/KPrBackground.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpresenter/KPrBackground.cpp b/kpresenter/KPrBackground.cpp
index f446ed703..1f8281acf 100644
--- a/kpresenter/KPrBackground.cpp
+++ b/kpresenter/KPrBackground.cpp
@@ -452,7 +452,7 @@ void KPrBackGround::load( const TQDomElement &element )
TQByteArray rawData=_data.utf8(); // XPM is normally ASCII, therefore UTF-8
rawData[rawData.size()-1]=char(10); // Replace the NULL character by a LINE FEED
TQBuffer buffer(rawData);
- backPicture.loadXpm(TQT_TQIODEVICE(&buffer));
+ backPicture.loadXpm(&buffer);
}
#if 0