aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/quick/items/qquicktextcontrol.cpp1
-rw-r--r--src/quick/items/qquicktextinput.cpp4
-rw-r--r--src/quick/scenegraph/qsgthreadedrenderloop.cpp4
3 files changed, 2 insertions, 7 deletions
diff --git a/src/quick/items/qquicktextcontrol.cpp b/src/quick/items/qquicktextcontrol.cpp
index fce5e02b4d..0a9677bd4e 100644
--- a/src/quick/items/qquicktextcontrol.cpp
+++ b/src/quick/items/qquicktextcontrol.cpp
@@ -75,7 +75,6 @@
// ### these should come from QStyleHints
const int textCursorWidth = 1;
-const bool fullWidthSelection = true;
QT_BEGIN_NAMESPACE
diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp
index 2bd3a3da37..e91ab778c8 100644
--- a/src/quick/items/qquicktextinput.cpp
+++ b/src/quick/items/qquicktextinput.cpp
@@ -2692,10 +2692,6 @@ void QQuickTextInput::q_updateAlignment()
}
}
-// ### these should come from QStyleHints
-const int textCursorWidth = 1;
-const bool fullWidthSelection = true;
-
/*!
\internal
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
index d91c6f5823..ba7bdbb2f4 100644
--- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp
+++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
@@ -161,7 +161,7 @@ const QEvent::Type WM_Expose = QEvent::Type(QEvent::User + 1);
const QEvent::Type WM_Obscure = QEvent::Type(QEvent::User + 2);
// Passed from the RL to itself to initiate a polishAndSync() call.
-const QEvent::Type WM_LockAndSync = QEvent::Type(QEvent::User + 3);
+//const QEvent::Type WM_LockAndSync = QEvent::Type(QEvent::User + 3); // not used for now
// Passed from the RL to RT when GUI has been locked, waiting for sync
// (updatePaintNode())
@@ -178,7 +178,7 @@ const QEvent::Type WM_TryRelease = QEvent::Type(QEvent::User + 7);
// Passed by the RL to the RL when maybeUpdate is called on the RT to
// just replay the maybeUpdate later. This typically happens when
// updatePaintNode() results in a call to QQuickItem::update().
-const QEvent::Type WM_UpdateLater = QEvent::Type(QEvent::User + 8);
+//const QEvent::Type WM_UpdateLater = QEvent::Type(QEvent::User + 8); // not used for now
// Passed by the RL to the RT when a QQuickWindow::grabWindow() is
// called.