diff options
Diffstat (limited to 'rbutil/rbutilqt/preview.cpp')
-rw-r--r-- | rbutil/rbutilqt/preview.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/preview.cpp b/rbutil/rbutilqt/preview.cpp index be1430c6a1..57b590966c 100644 --- a/rbutil/rbutilqt/preview.cpp +++ b/rbutil/rbutilqt/preview.cpp | |||
@@ -54,6 +54,16 @@ void PreviewDlg::leaveEvent(QEvent * event) | |||
54 | this->close(); | 54 | this->close(); |
55 | } | 55 | } |
56 | 56 | ||
57 | |||
58 | void PreviewDlg::changeEvent(QEvent *e) | ||
59 | { | ||
60 | if(e->type() == QEvent::LanguageChange) { | ||
61 | ui.retranslateUi(this); | ||
62 | } else { | ||
63 | QWidget::changeEvent(e); | ||
64 | } | ||
65 | } | ||
66 | |||
57 | PreviewLabel::PreviewLabel(QWidget * parent, Qt::WindowFlags f) | 67 | PreviewLabel::PreviewLabel(QWidget * parent, Qt::WindowFlags f) |
58 | :QLabel(parent,f) | 68 | :QLabel(parent,f) |
59 | { | 69 | { |