[Tux4kids-commits] r1456 - tux4kids-admin/trunk/tux4kids-admin/src

Michał Świtakowski swistakers-guest at alioth.debian.org
Wed Aug 19 11:53:55 UTC 2009


Author: swistakers-guest
Date: 2009-08-19 11:53:55 +0000 (Wed, 19 Aug 2009)
New Revision: 1456

Modified:
   tux4kids-admin/trunk/tux4kids-admin/src/selectStudentWidget.cpp
Log:
hiding Computer column on windows works

Modified: tux4kids-admin/trunk/tux4kids-admin/src/selectStudentWidget.cpp
===================================================================
--- tux4kids-admin/trunk/tux4kids-admin/src/selectStudentWidget.cpp	2009-08-19 11:42:51 UTC (rev 1455)
+++ tux4kids-admin/trunk/tux4kids-admin/src/selectStudentWidget.cpp	2009-08-19 11:53:55 UTC (rev 1456)
@@ -9,12 +9,12 @@
 
 	m_studentTableProxyModel.setSourceModel(&m_studentTableModel);
 
-#if defined(Q_WS_WIN)
+	m_ui->studentTable->setModel(&m_studentTableProxyModel);
+	
+#ifdef Q_WS_WIN
 	m_ui->studentTable->hideColumn(StudentTableModel::StudentComputer);
 #endif
 
-	m_ui->studentTable->setModel(&m_studentTableProxyModel);
-
 	m_ui->filterKeyCombo->addItem(tr("Everything"),
 				      StudentTableProxyModel::Everything);
 	m_ui->filterKeyCombo->addItem(tr("First name"),




More information about the Tux4kids-commits mailing list