From 3dbd488df47475a6164345506a53d41cbc04d780 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Sun, 23 May 2010 16:39:08 +0100
Subject: Warn if compiling with Qt <4.5 where needed.


diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp
index 42c80a7..3ac423f 100644
--- a/Swift/QtUI/QtChatTabs.cpp
+++ b/Swift/QtUI/QtChatTabs.cpp
@@ -25,6 +25,8 @@ QtChatTabs::QtChatTabs() : QWidget() {
 	/*Closable tabs are only in Qt4.5 and later*/
 	tabs_->setTabsClosable(true);
 	connect(tabs_, SIGNAL(tabCloseRequested(int)), this, SLOT(handleTabCloseRequested(int)));
+#else
+#warning Qt 4.5 or later is needed. Trying anyway, some things will be disabled.
 #endif
 	QVBoxLayout *layout = new QVBoxLayout;
 	layout->setSpacing(0);
-- 
cgit v0.10.2-6-g49f6