From 50a07d79dac46bea6600146045a9acafb7da1aed Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Thu, 3 Nov 2011 06:51:09 +0800 Subject: [PATCH] Remove dead method Screen::compose(String) --- src/Screen.cpp | 13 ------------- src/Screen.h | 5 +---- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/Screen.cpp b/src/Screen.cpp index 4c8380ca..2584332a 100644 --- a/src/Screen.cpp +++ b/src/Screen.cpp @@ -734,19 +734,6 @@ void Screen::displayCharacter(unsigned short c) cuX = newCursorX; } -void Screen::compose(const QString& /*compose*/) -{ - Q_ASSERT( 0 /*Not implemented yet*/ ); - - /* if (lastPos == -1) - return; - - QChar c(image[lastPos].character); - compose.prepend(c); - //compose.compose(); ### FIXME! - image[lastPos].character = compose[0].unicode();*/ -} - int Screen::scrolledLines() const { return _scrolledLines; diff --git a/src/Screen.h b/src/Screen.h index a21ee464..0e113805 100644 --- a/src/Screen.h +++ b/src/Screen.h @@ -347,10 +347,7 @@ public: * character already at the current cursor position. */ void displayCharacter(unsigned short c); - - // Do composition with last shown character FIXME: Not implemented yet for KDE 4 - void compose(const QString& compose); - + /** * Resizes the image to a new fixed size of @p new_lines by @p new_columns. * In the case that @p new_columns is smaller than the current number of columns,