Delete pictures from the Widget by pressing delete

Select the picture, press delete, profit.

[Dirk Hohndel: removed the stray hunk that snuck into this patch]

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-08-06 18:05:54 -03:00 committed by Dirk Hohndel
parent b0addb4567
commit 68af9f0afb
4 changed files with 24 additions and 3 deletions

View file

@ -86,7 +86,7 @@ slots:
void updateTextLabels(bool showUnits = true);
void escDetected(void);
void photoDoubleClicked(const QString filePath);
void removeSelectedPhotos();
private:
Ui::MainTab ui;
WeightModel *weightModel;