summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythoneditor.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2019-10-02 10:41:36 +0200
committerDavid Schulz <david.schulz@qt.io>2019-10-02 10:32:17 +0000
commitaa8ce0ba24c3fc99b13b0f45932035ee6fd0e068 (patch)
tree89f53162f74654c48110241b2eb45ff2f656f8e9 /src/plugins/python/pythoneditor.cpp
parent66131859333a4d68c75ab3f5f4bc2e31f801a600 (diff)
downloadqt-creator-aa8ce0ba24c3fc99b13b0f45932035ee6fd0e068.tar.gz
Python: remove unused static string
Change-Id: I4357157d98f039c654b16de4e469c18c32bbb0ed Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythoneditor.cpp')
-rw-r--r--src/plugins/python/pythoneditor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp
index 08e5e475fe..8422eb221f 100644
--- a/src/plugins/python/pythoneditor.cpp
+++ b/src/plugins/python/pythoneditor.cpp
@@ -126,7 +126,6 @@ FilePath getPylsModulePath(CommandLine pylsCommand)
+ QRegularExpression::escape(
QDir::toNativeSeparators("/pyls/__init__.py"))
+ '$';
- static const QString cachedPattern = " matches " + pylsInitPattern;
static const QRegularExpression regexCached(" matches " + pylsInitPattern,
QRegularExpression::MultilineOption);
static const QRegularExpression regexNotCached(" code object from " + pylsInitPattern,