summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-03-22 16:08:32 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-03-22 16:08:32 (GMT)
commit6581ec0c0881263bea671c6122b546483ad6f2e8 (patch)
treeca413b51ccd3b27479954b460232ebf99ad05c6c /Swift/Controllers/UnitTest/MockMainWindowFactory.h
parentf5c2750f56c78d115bb9e8a7c5d50316da98b6d5 (diff)
downloadswift-6581ec0c0881263bea671c6122b546483ad6f2e8.zip
swift-6581ec0c0881263bea671c6122b546483ad6f2e8.tar.bz2
Updating unit tests to work again
Diffstat (limited to 'Swift/Controllers/UnitTest/MockMainWindowFactory.h')
-rw-r--r--Swift/Controllers/UnitTest/MockMainWindowFactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/UnitTest/MockMainWindowFactory.h b/Swift/Controllers/UnitTest/MockMainWindowFactory.h
index c67df72..a80663d 100644
--- a/Swift/Controllers/UnitTest/MockMainWindowFactory.h
+++ b/Swift/Controllers/UnitTest/MockMainWindowFactory.h
@@ -13,7 +13,7 @@ namespace Swift {
/**
* Transfers ownership of result.
*/
- virtual MainWindow* createMainWindow() {return new MockMainWindow(factory_->createTreeWidget());};
+ virtual MainWindow* createMainWindow(UIEventStream*) {return new MockMainWindow(factory_->createTreeWidget());};
private:
TreeWidgetFactory* factory_;
};