[Turqstat-commits] [SCM] Turquoise SuperStat - http://www.softwolves.pp.se/sw/software/turquoise branch, xturqstat-win32, updated. release-3.0-2-24-g32a20f2
Peter Karlsson
peter at softwolves.pp.se
Mon Jun 2 19:17:55 UTC 2008
The following commit has been merged in the xturqstat-win32 branch:
commit f4903431fd573029d679154585cb5948dbb2192e
Author: Peter Karlsson <peter at softwolves.pp.se>
Date: Mon Jun 2 20:44:01 2008 +0200
Fixed display of the top list dialogue itself.
The row span must be set to 1, not 0, to display correctly.
Set the "Dismiss" button as the default.
diff --git a/qtlist.cpp b/qtlist.cpp
index a092103..9395fa6 100644
--- a/qtlist.cpp
+++ b/qtlist.cpp
@@ -36,10 +36,11 @@ TopListWindow::TopListWindow(QWidget *parent, toplist_e list)
// Create list view
m_tableview_p = new QTableWidget(this);
- layout_p->addWidget(m_tableview_p, 0, 0, 0, 2);
+ layout_p->addWidget(m_tableview_p, 0, 0, 1, 2);
// Add buttons
QPushButton *ok = new QPushButton(tr("Dismiss"), this);
+ ok->setDefault(true);
layout_p->addWidget(ok, 1, 0);
connect(ok, SIGNAL(clicked()), SLOT(accept()));
--
Turquoise SuperStat - http://www.softwolves.pp.se/sw/software/turquoise
More information about the Turqstat-commits
mailing list