summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_validity.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/dialogs/kspread_dlg_validity.cc')
-rw-r--r--kspread/dialogs/kspread_dlg_validity.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kspread/dialogs/kspread_dlg_validity.cc b/kspread/dialogs/kspread_dlg_validity.cc
index 8f61c5d8..79445e54 100644
--- a/kspread/dialogs/kspread_dlg_validity.cc
+++ b/kspread/dialogs/kspread_dlg_validity.cc
@@ -367,8 +367,8 @@ void DlgValidity::changeIndexType(int _index)
}
break;
}
- if ( width() < tqsizeHint().width() )
- resize( tqsizeHint() );
+ if ( width() < sizeHint().width() )
+ resize( sizeHint() );
}
void DlgValidity::changeIndexCond(int _index)