Commit 21c2bd54 authored by Christoph Feck's avatar Christoph Feck

Comment out QInputContext support

It seems this is no longer available in Qt5, and might
need porting to QPlatform-specific classes.
parent ae442195
......@@ -53,7 +53,7 @@
#include <qapplication.h>
#include <qlist.h>
#include <qtimer.h>
#include <QInputContext>
//#include <QInputContext>
#include <kdebug.h>
......@@ -162,12 +162,14 @@ void kpViewManager::setTextCursorPosition (int row, int col)
restoreQueueUpdates ();
restoreFastUpdates ();
#if 0 // TODO port to Qt5?
if (d->viewUnderCursor) {
QInputContext *inputContext = d->viewUnderCursor->inputContext ();
if (inputContext) {
inputContext->update ();
}
}
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment