This was quite an exciting issue:<div><br></div><div>It shouldn't compile. It's a bug in the code introduced when the mainwindow was transferred from inheriting a KTabWidget to just using one.<br></div><div><br></div>
<div>However - in the latest code (KDE 4.6 +) of ktabwidget.h the call to QTabBar::tabBar() was exposed in the line</div><div> using QTabBar::tabBar;</div><div><br></div><div>Therefore it compiles with anything KDE4.6+ thanks to a hidden 'feature' in KTabWidget.</div>
<div><br></div><div>A proper fix means rewriting a medium amount of code, or we could depend on KDE4.6, or just drop the code (it's only used for closing tabs when middle clicked)</div><div><br></div><div>For now simply comment out lines 55/56 of app/chatwindow.cpp, it's not for a particularly important feature.</div>
<div><br></div><div>Dave</div>