diff options
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp | 2 | ||||
-rw-r--r-- | Swift/QtUI/QtFdpFormSubmitWindow.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp b/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp index 6339ad9..e052aff 100644 --- a/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp +++ b/Swift/Controllers/Chat/UnitTest/ChattablesTest.cpp @@ -112,7 +112,7 @@ TEST_F(ChattablesTest, testSetState) { JID returnedJID; int returnedIndex; int callsToChanged = 0; - chattables_.onChanged.connect([this, &returnedJID, &returnedIndex, &callsToChanged](const JID& jid, int index){ + chattables_.onChanged.connect([&returnedJID, &returnedIndex, &callsToChanged](const JID& jid, int index){ returnedJID = jid; returnedIndex = index; callsToChanged++; diff --git a/Swift/QtUI/QtFdpFormSubmitWindow.h b/Swift/QtUI/QtFdpFormSubmitWindow.h index c178a5b..b429927 100644 --- a/Swift/QtUI/QtFdpFormSubmitWindow.h +++ b/Swift/QtUI/QtFdpFormSubmitWindow.h @@ -32,7 +32,7 @@ namespace Swift { public: QtFdpFormSubmitWindow(QWidget* parent = nullptr); - virtual ~QtFdpFormSubmitWindow(); + virtual ~QtFdpFormSubmitWindow() override; protected: virtual void closeEvent(QCloseEvent* event) override; |