summaryrefslogtreecommitdiff
path: root/gui/cachewaysselector.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/cachewaysselector.cc')
-rw-r--r--gui/cachewaysselector.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/cachewaysselector.cc b/gui/cachewaysselector.cc
index f0314e5..14dae6f 100644
--- a/gui/cachewaysselector.cc
+++ b/gui/cachewaysselector.cc
@@ -32,7 +32,7 @@ CacheWaysSelector::CacheWaysSelector(QWidget *parent) : QWidget(parent)
v = new QVBoxLayout(this);
for (i = 1; i <= 6; ++i) {
- l = new QHBoxLayout(this);
+ l = new QHBoxLayout;
b = new QLabel(QString("L%1 2^").arg(i), this);
@@ -46,7 +46,6 @@ CacheWaysSelector::CacheWaysSelector(QWidget *parent) : QWidget(parent)
v->addLayout(l);
this->sbs.append(sb);
}
- v->addStretch();
}
QList<int> CacheWaysSelector::values() const