[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/libkopete/ui
From: Olivier Goffart <ogoffart () kde ! org>
Date: 2006-08-07 21:15:32
Message-ID: 1154985332.428852.15193.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 570854 by ogoffart:
Fix account selector layout
M +3 -3 accountselector.cpp
--- trunk/KDE/kdenetwork/kopete/libkopete/ui/accountselector.cpp #570853:570854
@@ -61,7 +61,6 @@
public:
K3ListView *lv;
Kopete::Protocol *proto;
- QVBoxLayout* layout;
};
@@ -94,12 +93,13 @@
void AccountSelector::initUI()
{
kDebug(14010) << k_funcinfo << endl;
- d->layout = new QVBoxLayout();
+ QVBoxLayout *layout = new QVBoxLayout(this);
d->lv = new K3ListView(this);
d->lv->setFullWidth(true);
d->lv->addColumn(QString::fromLatin1(""));
d->lv->header()->hide();
- d->layout->addWidget(d->lv);
+ layout->addWidget(d->lv);
+ setLayout(layout);
kDebug(14010) << k_funcinfo << "creating list of all accounts" << endl;
foreach(Kopete::Account *account , Kopete::AccountManager::self()->accounts() )
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic