summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2017-07-23 19:52:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2017-07-23 19:52:23 +0200
commitecde0bac61ec5d993f0ab1f240105bf32867a08b (patch)
tree1248fcdcb84077860b98d1db6d3b743a0a821a75
parentc2cfb988940c980d3d5e89b20bba2968e513f27f (diff)
downloadtdepim-ecde0bac61ec5d993f0ab1f240105bf32867a08b.tar.gz
tdepim-ecde0bac61ec5d993f0ab1f240105bf32867a08b.zip
Fix FTBFS with GCC7
Signed-off-by: François Andriot <francois.andriot@free.fr> (cherry picked from commit 4767f333ca8a7997b4c4f9ec3f2f4fdb6e59d7ea)
-rw-r--r--korganizer/koeditorattachments.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koeditorattachments.cpp b/korganizer/koeditorattachments.cpp
index 4560d34f8..48b9acddf 100644
--- a/korganizer/koeditorattachments.cpp
+++ b/korganizer/koeditorattachments.cpp
@@ -79,7 +79,7 @@ class AttachmentListItem : public TDEIconViewItem
if ( att ) {
mAttachment = new KCal::Attachment( *att );
} else {
- mAttachment = new KCal::Attachment( '\0' ); //use the non-uri constructor
+ mAttachment = new KCal::Attachment( TQChar('\0') ); //use the non-uri constructor
//as we want inline by default
}
readAttachment();