close zoom slider when it loses its focus

This commit is contained in:
Luis Ángel San Martín
2015-12-09 22:38:28 +01:00
parent 84ea312b0e
commit be0ef4f20f
2 changed files with 20 additions and 1 deletions

View File

@ -14,8 +14,11 @@ private:
QSlider * slider;
public:
YACReaderSlider (QWidget * parent = 0);
void show();
protected:
virtual void focusOutEvent(QFocusEvent * event);
public slots:
void updateText(int value);