From 2f7f376a22697029465572d948bdb22b032d8717 Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 25 Apr 2010 11:53:41 +0000 Subject: [PATCH] minor touchup of event tab git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@440 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- src/mwin/eventstab.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/mwin/eventstab.cpp b/src/mwin/eventstab.cpp index b222119..2b37409 100644 --- a/src/mwin/eventstab.cpp +++ b/src/mwin/eventstab.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -40,6 +41,7 @@ MEventsTab::MEventsTab(QString pk) { profilekey=pk; showoldevents=0; + setObjectName("eventstab"); //Event tab QVBoxLayout*vl;QHBoxLayout*hl; @@ -48,6 +50,7 @@ MEventsTab::MEventsTab(QString pk) eventtable->setModel(eventmodel=new QStandardItemModel(this)); eventtable->setSelectionMode(QAbstractItemView::SingleSelection); eventtable->setEditTriggers(QAbstractItemView::NoEditTriggers); + eventtable->verticalHeader()->hide(); hl->addSpacing(5); hl->addLayout(vl=new QVBoxLayout,0); QPushButton*p; -- 1.7.2.5