[atlantik-cvs] CVS: kdegames/atlantik/client eventlogwidget.cpp, 1.1.2.4, 1.1.2.5

[email protected] Wed, 7 Jan 2004 10:00:38 +0100 (CET)
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv9950/client

Modified Files:
      Tag: atlantik_3_3_branch
	eventlogwidget.cpp 
Log Message:
disable listview sorting

Index: eventlogwidget.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/Attic/eventlogwidget.cpp,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- eventlogwidget.cpp	8 Dec 2003 16:57:30 -0000	1.1.2.4
+++ eventlogwidget.cpp	7 Jan 2004 09:00:35 -0000	1.1.2.5
@@ -1,4 +1,4 @@
-// Copyright (c) 2003 Rob Kaper <[email protected]>
+// Copyright (c) 2003-2004 Rob Kaper <[email protected]>
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -16,6 +16,7 @@
 
 #include <iostream>
 
+#include <qheader.h>
 #include <qlayout.h>
 #include <qdatetime.h>
 
@@ -64,6 +65,7 @@
 
 	m_eventList->addColumn(i18n("Date/Time"));
 	m_eventList->addColumn(i18n("Description"));
+	m_eventList->header()->setClickEnabled( false );
 
 	QHBoxLayout *actionBox = new QHBoxLayout(this, 0, KDialog::spacingHint());
 	listCompBox->addItem(actionBox);
@@ -85,7 +87,6 @@
 {
 	// FIXME: allow a way to view non-squeezed message
 	// FIXME: allow a way to show older messages
-	// FIXME: disable sorting
 
 	if ( m_eventList->childCount() >= 25 )
 		delete m_eventList->firstChild();