summaryrefslogtreecommitdiffstats
path: root/newpicsdialog.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-03-30 07:00:07 +0200
committerArno <arno@disconnect.de>2016-03-30 07:00:07 +0200
commitc390757f2068f188dc76e6dfc736f4afae6eefd7 (patch)
treeb73157082d59a30e677f0086fd2207162eb7795e /newpicsdialog.h
parent2e4e94a52824d2f85af739644461fdc184aed93d (diff)
downloadSheMov-c390757f2068f188dc76e6dfc736f4afae6eefd7.tar.gz
SheMov-c390757f2068f188dc76e6dfc736f4afae6eefd7.tar.bz2
SheMov-c390757f2068f188dc76e6dfc736f4afae6eefd7.zip
Remove presets from NewPicsDialog
and replace them with write/readSettings. It was a useless feature anyway, don't even remember what it was good for. Also fix another bug in MappingTreeResultModel: Clear mCurrentData too, when clearData is called.
Diffstat (limited to 'newpicsdialog.h')
-rw-r--r--newpicsdialog.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/newpicsdialog.h b/newpicsdialog.h
index 1f0e587..d526e58 100644
--- a/newpicsdialog.h
+++ b/newpicsdialog.h
@@ -40,12 +40,8 @@ class NewPicsDialog : public QDialog {
void accept();
private slots:
- void savePos();
- void loadPreset() const;
- void savePreset();
-
- protected:
- virtual void moveEvent(QMoveEvent *e);
+ void writeSettings();
+ void readSettings();
private:
void setupDlg();
@@ -55,13 +51,10 @@ class NewPicsDialog : public QDialog {
SmTreeView *mFilesV;
NewPicFilesModel *mFilesModel;
QSortFilterProxyModel *mFilesProxy;
- QPushButton *mPresets;
QPushButton *mAddFiles;
QPushButton *mRemoveFiles;
QPushButton *mOk;
QPushButton *mCancel;
- QLabel *mPosL;
- QMenu *mPresetMenu;
QSqlDatabase mDb;
QPoint mPos;
};