From 9092371858356efde3e2d6d002f692308127389c Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 23 Oct 2010 09:20:18 +0200 Subject: Fixed crash when remembering selected tab, improve performance Strange things happen. As stated in commit 19674f6, SheMov crashed when setting the archive as current tab and then changing to filesystem view. This can be resolved by first showing the MainWindow and then applying the display changes. I guess it's an qt internal thing. Also vastly improved performance when hovering by only entering the hover code path when we actually have a HoverEvent. Before CPU usage spiked at 100% even if SheMov was idle. --- shemov.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shemov.h') diff --git a/shemov.h b/shemov.h index 57e9fda..547fbd2 100644 --- a/shemov.h +++ b/shemov.h @@ -44,6 +44,9 @@ class SheMov : public QMainWindow { void newMovieWizardWithFiles(); void setSize(qint64 size); + signals: + void configChanged(); + private: void createStatusbar(); void createActions(); -- cgit v1.2.3-70-g09d2