diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-03-28 18:34:38 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-03-28 18:34:38 (GMT) |
commit | b9468847a2a77ed5d7909a6c0cc9bf2e53a7252f (patch) | |
tree | cb32c5c601cb5fb3dbce34196dbbaa410cf5360c /Swift | |
parent | 2e739049b4581c9547943867cea31ad6b2c3784a (diff) | |
download | swift-contrib-b9468847a2a77ed5d7909a6c0cc9bf2e53a7252f.zip swift-contrib-b9468847a2a77ed5d7909a6c0cc9bf2e53a7252f.tar.bz2 |
Fix windows compilation.
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/ChatList/ChatListMUCItem.h | 2 | ||||
-rw-r--r-- | Swift/QtUI/ChatList/QtChatListWindow.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Swift/QtUI/ChatList/ChatListMUCItem.h b/Swift/QtUI/ChatList/ChatListMUCItem.h index 53574b5..dd3f185 100644 --- a/Swift/QtUI/ChatList/ChatListMUCItem.h +++ b/Swift/QtUI/ChatList/ChatListMUCItem.h @@ -13,7 +13,7 @@ namespace Swift { public: ChatListMUCItem(boost::shared_ptr<MUCBookmark> bookmark, ChatListGroupItem* parent) : ChatListItem(parent), bookmark_(bookmark) {}; boost::shared_ptr<MUCBookmark> getBookmark() {return bookmark_;}; - QVariant data(int role) {}; + QVariant data(int role) { return QVariant(); }; private: boost::shared_ptr<MUCBookmark> bookmark_; QList<ChatListItem*> items_; diff --git a/Swift/QtUI/ChatList/QtChatListWindow.h b/Swift/QtUI/ChatList/QtChatListWindow.h index b7fe6d2..856d4c0 100644 --- a/Swift/QtUI/ChatList/QtChatListWindow.h +++ b/Swift/QtUI/ChatList/QtChatListWindow.h @@ -2,10 +2,10 @@ #include <QTreeView> -#import "Swift/Controllers/UIInterfaces/ChatListWindow.h" -#import "Swift/Controllers/UIEvents/UIEventStream.h" -#import "Swift/QtUI/ChatList/ChatListModel.h" -#import "Swift/QtUI/ChatList/ChatListDelegate.h" +#include "Swift/Controllers/UIInterfaces/ChatListWindow.h" +#include "Swift/Controllers/UIEvents/UIEventStream.h" +#include "Swift/QtUI/ChatList/ChatListModel.h" +#include "Swift/QtUI/ChatList/ChatListDelegate.h" namespace Swift { |