summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/settings.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 3264ba05..30b8ccab 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -144,8 +144,15 @@ SettingsDialog::SettingsDialog(QWidget *parent)
setWindowTitle(i18n("rekonfig..."));
setModal(true);
+ QStringList headerLabels;
+ headerLabels << i18n("Name") << i18n("Url");
+ d->newtabpageUi.tableWidget->setHorizontalHeaderLabels(headerLabels);
+
readConfig();
+ // you have to do this after readConfig()...
+ d->newtabpageUi.tableWidget->resizeColumnsToContents();
+
connect(d->generalUi.setHomeToCurrentPageButton, SIGNAL(clicked()), this, SLOT(setHomeToCurrentPage()));
connect(d->newtabpageUi.tableWidget, SIGNAL(cellChanged(int, int)), this, SLOT(deleteThumb(int,int)));