Make History dialog again resizable.
--HG-- branch : develop
This commit is contained in:
parent
6590742f09
commit
e14b16dc96
|
@ -490,6 +490,12 @@ void DialogHistory::changeEvent(QEvent *event)
|
|||
QDialog::changeEvent(event);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogHistory::showEvent(QShowEvent *event)
|
||||
{
|
||||
QDialog::showEvent( event ); // return default behavior
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogHistory::RetranslateUi()
|
||||
{
|
||||
|
|
|
@ -69,6 +69,7 @@ protected:
|
|||
virtual void closeEvent ( QCloseEvent * event ) override;
|
||||
virtual void changeEvent(QEvent* event) override;
|
||||
virtual bool IsValid() const final {return true;}
|
||||
virtual void showEvent( QShowEvent *event ) override;
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogHistory)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user