ui: fixed crash when clicking on namespace label

This commit is contained in:
Eberhard Graether
2018-05-04 16:09:43 +02:00
parent bf2b56a69e
commit 568e2f3e36
6 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ void QtUpdateChecker::check(bool force, std::function<void(Result)> callback)
void QtUpdateChecker::checkUpdate()
{
m_onQtThread(
[this]()
[]()
{
check(false, [](Result){});
}
@@ -74,6 +74,8 @@ bool QtGraphNodeQualifier::setPosition(const Vec2i& pos)
void QtGraphNodeQualifier::onClick()
{
hide();
MessageActivateNodes msg;
msg.addNode(0, m_qualifierName);
msg.dispatch();
@@ -647,7 +647,7 @@ void QtProjectWizzard::newSourceGroup()
}
QtProjectWizzardWindow* window = createWindowWithContent(
[this](QtProjectWizzardWindow* window)
[](QtProjectWizzardWindow* window)
{
window->setPreferredSize(QSize(570, 380));
return new QtProjectWizzardContentSelect(window);