[kde-doc-english] [trojita] src/Gui: GUI: don't make the view's rows too big when long signatures are present
Jan Kundrát
jkt at flaska.net
Wed Dec 12 18:11:16 UTC 2012
Git commit cbd3104eeb1d8a985936a34b1a3d64af00210a6f by Jan Kundrát.
Committed on 12/12/2012 at 18:06.
Pushed by jkt into branch 'master'.
GUI: don't make the view's rows too big when long signatures are present
M +2 -2 src/Gui/SettingsDialog.cpp
http://commits.kde.org/trojita/cbd3104eeb1d8a985936a34b1a3d64af00210a6f
diff --git a/src/Gui/SettingsDialog.cpp b/src/Gui/SettingsDialog.cpp
index 1e5e35e..e3edaaf 100644
--- a/src/Gui/SettingsDialog.cpp
+++ b/src/Gui/SettingsDialog.cpp
@@ -127,11 +127,11 @@ GeneralPage::GeneralPage(QWidget *parent, QSettings &s, Composer::SenderIdentiti
identityTabelView->setModel(m_identitiesModel);
identityTabelView->setSelectionBehavior(QAbstractItemView::SelectRows);
identityTabelView->setSelectionMode(QAbstractItemView::SingleSelection);
- identityTabelView->resizeColumnToContents(Composer::SenderIdentitiesModel::COLUMN_NAME);
- identityTabelView->resizeRowsToContents();
identityTabelView->setGridStyle(Qt::NoPen);
identityTabelView->hideColumn(Composer::SenderIdentitiesModel::COLUMN_ORGANIZATION);
identityTabelView->setColumnHidden(Composer::SenderIdentitiesModel::COLUMN_SIGNATURE, true);
+ identityTabelView->resizeColumnToContents(Composer::SenderIdentitiesModel::COLUMN_NAME);
+ identityTabelView->resizeRowsToContents();
identityTabelView->horizontalHeader()->setStretchLastSection(true);
showHomepageCheckbox->setChecked(s.value(Common::SettingsNames::appLoadHomepage, QVariant(true)).toBool());
More information about the kde-doc-english
mailing list