diff options
-rw-r--r-- | pictureswidget.cpp | 2 | ||||
-rw-r--r-- | pictureswidget.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/pictureswidget.cpp b/pictureswidget.cpp index 49a86ec..0b14699 100644 --- a/pictureswidget.cpp +++ b/pictureswidget.cpp @@ -21,7 +21,7 @@ #include "smglobals.h" #include "helper.h" -PicturesWidget::PicturesWidget(QWidget *parent) : QWidget(parent), mWindowTitleBase(tr("Picture archive")), mPicViewerA(0) { +PicturesWidget::PicturesWidget(QWidget *parent) : QWidget(parent), mWindowTitleBase(tr("Picture archive")) { mMappingTree = new MappingTreeWidget; mPictureListView = new PictureListView; mPictureListView->setItemDelegateForColumn(PicFilesModel::Size, new SizeDelegate(this)); diff --git a/pictureswidget.h b/pictureswidget.h index a7134df..d6b548e 100644 --- a/pictureswidget.h +++ b/pictureswidget.h @@ -26,7 +26,6 @@ class PicturesWidget : public QWidget { public: explicit PicturesWidget(QWidget *parent = 0); PictureListView *picView() { return mPictureListView; } - void setPicViewerAction(QAction *action) { mPicViewerA = action; } PictureViewer2 *picViewer2() { return mPicViewer; } public slots: @@ -50,7 +49,6 @@ class PicturesWidget : public QWidget { PictureViewer2 *mPicViewer; MappingEditDialog *mEditDialog; const QString mWindowTitleBase; - QAction *mPicViewerA; }; #endif // PICTURESWIDGET_H |