diff options
author | Timothy Pearson <[email protected]> | 2011-11-08 00:05:53 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-08 00:05:53 -0600 |
commit | de123eb5e3e3b2561b5836332456b4320ee3daf3 (patch) | |
tree | 231b2c8fd8bf4a93ad120de89704d0c774f058f7 /kdgantt/KDGanttViewSubwidgets.cpp | |
parent | 2b1df858bf24b199a5d3e4fc537df3e9701f8daa (diff) | |
download | koffice-de123eb5e3e3b2561b5836332456b4320ee3daf3.tar.gz koffice-de123eb5e3e3b2561b5836332456b4320ee3daf3.zip |
Fix accidental conversion of dockwin
Diffstat (limited to 'kdgantt/KDGanttViewSubwidgets.cpp')
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp index bb41746f..d158c75a 100644 --- a/kdgantt/KDGanttViewSubwidgets.cpp +++ b/kdgantt/KDGanttViewSubwidgets.cpp @@ -2565,11 +2565,11 @@ KDLegendWidget:: KDLegendWidget( TQWidget* parent, clearLegend(); showMe ( false ); } -void KDLegendWidget::setAsDoctwindow( bool doctwin ) +void KDLegendWidget::setAsDoctwindow( bool dockwin ) { - if ( (dock == 0 && !doctwin) || ( dock && doctwin ) ) + if ( (dock == 0 && !dockwin) || ( dock && dockwin ) ) return; - if ( doctwin ) + if ( dockwin ) { setMaximizedWidget( 0 ); showMe ( false ); @@ -2614,7 +2614,7 @@ bool KDLegendWidget::asDoctwindow( ) } -TQDockWindow* KDLegendWidget::doctwindow( ) +TQDockWindow* KDLegendWidget::dockwindow( ) { return dock; } |