┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-12-07 23:46:35 +0100
committerPeter Penz <[email protected]>2011-12-07 23:49:58 +0100
commit1d27156cdc18e2600fc6e30099ca20452045fabb (patch)
tree2e1e52c803b40c947923066ac8b6da2b6589f2c0 /src/dolphinmainwindow.h
parentb358e9928049575cf3118f3950caf52bfa003404 (diff)
Prevent unwanted item animations (#2)
Use a cleaner approach to prevent item animations when showing a hidden tab the first time. For Dolphin > 2.0 the tab-code should be refactored from DolphinMainWindow and encapsulated into an own module (but well, this is on my TODO-list since KDE SC 4.4...)
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index fd9e10329..998b6fc25 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -565,8 +565,9 @@ private:
// Members for the tab-handling:
struct ViewTab
{
- ViewTab() : isPrimaryViewActive(true), primaryView(0), secondaryView(0), splitter(0) {}
+ ViewTab() : isPrimaryViewActive(true), wasActive(false), primaryView(0), secondaryView(0), splitter(0) {}
bool isPrimaryViewActive;
+ bool wasActive;
DolphinViewContainer* primaryView;
DolphinViewContainer* secondaryView;
QSplitter* splitter;