From 840aac8d62b0a05ac697eaef5c60460942f2f9ca Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 8 Nov 2011 00:16:02 -0600 Subject: Fix accidental conversion of dockwin --- kdgantt/KDGanttViewSubwidgets.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kdgantt/KDGanttViewSubwidgets.cpp') diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp index 9f76bea6..bd83feb1 100644 --- a/kdgantt/KDGanttViewSubwidgets.cpp +++ b/kdgantt/KDGanttViewSubwidgets.cpp @@ -2553,11 +2553,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 ); @@ -2602,7 +2602,7 @@ bool KDLegendWidget::asDoctwindow( ) } -TQDockWindow* KDLegendWidget::doctwindow( ) +TQDockWindow* KDLegendWidget::dockwindow( ) { return dock; } -- cgit v1.2.3