summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-25 00:35:40 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-25 00:35:40 +0200
commit21142b3adb4107e4f63792178bc3e6e5d3792582 (patch)
treedd5e231432c1dd9284dfed12d0ca859ca303adcd /src/settings.cpp
parentCleaning some unuseful kDebug(s)... (diff)
downloadrekonq-21142b3adb4107e4f63792178bc3e6e5d3792582.tar.xz
Fixing a bit thumbs tableWidget
Diffstat (limited to 'src/settings.cpp')
-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)));