summaryrefslogtreecommitdiff
path: root/src/previewselectorbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/previewselectorbar.h')
-rw-r--r--src/previewselectorbar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/previewselectorbar.h b/src/previewselectorbar.h
index 214514db..9f8c78cc 100644
--- a/src/previewselectorbar.h
+++ b/src/previewselectorbar.h
@@ -45,6 +45,8 @@ public:
PreviewSelectorBar(int index, QWidget *parent);
~PreviewSelectorBar();
+ inline void setIndex(int index) { m_previewIndex = index; }
+
private slots:
void clicked();