summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/kfdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdm/kfrontend/kfdialog.cpp')
-rw-r--r--tdm/kfrontend/kfdialog.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tdm/kfrontend/kfdialog.cpp b/tdm/kfrontend/kfdialog.cpp
index ba05b0294..47ae5759c 100644
--- a/tdm/kfrontend/kfdialog.cpp
+++ b/tdm/kfrontend/kfdialog.cpp
@@ -64,7 +64,12 @@ FDialog::FDialog( TQWidget *parent, bool framed )
setCaption(TDM_LOGIN_SCREEN_BASE_TITLE);
if (framed) {
- if (m_wmTitle) setFixedSize(sizeHint());
+ if (m_wmTitle) {
+ TQSize sh = sizeHint();
+ if ((sh.width() > 0) && (sh.height() > 0)) {
+ setFixedSize(sh);
+ }
+ }
}
}