diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-09-04 17:34:56 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-07 02:15:23 +0200 |
commit | 25f5d375b4ba386263a480ba308a235eb6c10d47 (patch) | |
tree | 16622cfc10cd32eadd1ad5686065a410cd2ce75b /src/quick/items | |
parent | 0c7c0aa24043b0ed9d34fe13294d1a34f1b57107 (diff) |
Remove variables that aren't being used right now
Found by ICC.
src/quick/items/qquicktextcontrol.cpp(78): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced
src/quick/items/qquicktextinput.cpp(2696): error #2415: variable "textCursorWidth" of static storage duration was declared but never referenced
src/quick/items/qquicktextinput.cpp(2697): error #2415: variable "fullWidthSelection" of static storage duration was declared but never referenced
src/quick/scenegraph/qsgthreadedrenderloop.cpp(164): error #2415: variable "WM_LockAndSync" of static storage duration was declared but never referenced
src/quick/scenegraph/qsgthreadedrenderloop.cpp(181): error #2415: variable "WM_UpdateLater" of static storage duration was declared but never referenced
Change-Id: I60b5cce79d7be5f909b690f97ffa93ea00d3c044
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/quick/items')
-rw-r--r-- | src/quick/items/qquicktextcontrol.cpp | 1 | ||||
-rw-r--r-- | src/quick/items/qquicktextinput.cpp | 4 |
2 files changed, 0 insertions, 5 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 |