-rw-r--r-- | korganizer/koagendaview.cpp | 2 | ||||
-rw-r--r-- | korganizer/koagendaview.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index b5596d9..05216a7 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp | |||
@@ -207,2 +207,3 @@ void TimeLabels::contentsMousePressEvent ( QMouseEvent * e) | |||
207 | mMouseDownY = e->pos().y(); | 207 | mMouseDownY = e->pos().y(); |
208 | mOrgCap = topLevelWidget()->caption(); | ||
208 | } | 209 | } |
@@ -225,2 +226,3 @@ void TimeLabels::contentsMouseReleaseEvent ( QMouseEvent * e ) | |||
225 | { | 226 | { |
227 | topLevelWidget()->setCaption( mOrgCap ); | ||
226 | int diff = mMouseDownY - e->pos().y(); | 228 | int diff = mMouseDownY - e->pos().y(); |
diff --git a/korganizer/koagendaview.h b/korganizer/koagendaview.h index 221b0ea..3cf938f 100644 --- a/korganizer/koagendaview.h +++ b/korganizer/koagendaview.h | |||
@@ -79,2 +79,3 @@ class TimeLabels : public QScrollView { | |||
79 | int mMouseDownY; | 79 | int mMouseDownY; |
80 | QString mOrgCap; | ||
80 | int mRows; | 81 | int mRows; |