summaryrefslogtreecommitdiff
path: root/src/tabbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabbar.h')
-rw-r--r--src/tabbar.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/tabbar.h b/src/tabbar.h
index af3c537b..488de4b2 100644
--- a/src/tabbar.h
+++ b/src/tabbar.h
@@ -91,9 +91,9 @@ private slots:
void contextMenu(int, const QPoint &);
void emptyAreaContextMenu(const QPoint &);
-private:
- void showTabPreview(int tab);
+ void showTabPreview();
+private:
friend class MainView;
/**
@@ -102,7 +102,11 @@ private:
int m_actualIndex;
QWeakPointer<KPassivePopup> m_previewPopup;
- int m_currentTabPreview;
+
+ /**
+ * the index of the tab preview shown
+ */
+ int m_currentTabPreviewIndex;
};
#endif