diff options
author | Arno <am@disconnect.de> | 2013-04-06 05:39:29 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-04-06 05:39:29 +0200 |
commit | 02335902fb63e7bc1ebd5931dae93b754dc469ea (patch) | |
tree | cfe6ecdef2743db36bc5915497626993f554b884 /smtreeview.cpp | |
parent | 046503ba7830427fcd055da569326f0ac814b979 (diff) | |
download | SheMov-02335902fb63e7bc1ebd5931dae93b754dc469ea.tar.gz SheMov-02335902fb63e7bc1ebd5931dae93b754dc469ea.tar.bz2 SheMov-02335902fb63e7bc1ebd5931dae93b754dc469ea.zip |
Show pic size in SmDirModel
If file is an image, grab the size and add it to the model.
Also, remove some leftover debug statements from SmTreeView.
Diffstat (limited to 'smtreeview.cpp')
-rw-r--r-- | smtreeview.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/smtreeview.cpp b/smtreeview.cpp index 411857a..feb64bf 100644 --- a/smtreeview.cpp +++ b/smtreeview.cpp @@ -16,8 +16,6 @@ SmTreeView::SmTreeView(const QString &hSetting, QWidget *parent) : QTreeView(par header()->setSectionResizeMode(QHeaderView::ResizeToContents); } -#include <QDebug> - void SmTreeView::readHeaderConfig(){ QSettings s; QByteArray headerPos = s.value(mHeaderSetting).toByteArray(); @@ -31,7 +29,6 @@ void SmTreeView::readHeaderConfig(){ } for(int i = 0; i < hv->count(); ++i){ if(!hv->isSectionHidden(i)){ - qDebug() << mHeaderSetting << headerActions.value(i) << "checked" << headerActions.value(i)->isCheckable(); headerActions.value(i)->setChecked(true); } } @@ -47,5 +44,4 @@ void SmTreeView::toggleHeader(QObject *action){ int logicalIndex = a->data().toInt(); QHeaderView *hv = header(); hv->setSectionHidden(logicalIndex, !a->isChecked()); - qDebug() << mHeaderSetting << a->text() << "toggled" << a->isChecked(); } |