D5852: kdev-python: First approach to integrate runtimes
Anthony Fieroni
noreply at phabricator.kde.org
Tue Aug 1 04:38:49 UTC 2017
anthonyfieroni added inline comments.
INLINE COMMENTS
> helpers.cpp:436-444
> + static bool first = true;
> + if (first) {
> + first = false;
> + QObject::connect(ICore::self()->runtimeController(), &IRuntimeController::currentRuntimeChanged, ICore::self()->runtimeController(), []( IRuntime* r){
> + QMutexLocker lock(&Helper::cacheMutex);
> + cachedSearchPaths.clear();
> + qDebug() << "runtime changed!" << r;
Why not Qt::UniqueConnection ?
REPOSITORY
R53 KDevelop: Python Support
REVISION DETAIL
https://phabricator.kde.org/D5852
To: apol, #kdevelop
Cc: anthonyfieroni, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170801/e95b93a9/attachment-0001.html>
More information about the KDevelop-devel
mailing list