diff options
author | Timothy Pearson <[email protected]> | 2013-04-06 16:57:38 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-04-06 16:57:38 -0500 |
commit | aa0b92c035cc0b060af4bfa9e512792884ac2dc1 (patch) | |
tree | 96e80cd34541655b82c0a616506334c5b2fab51c /tdm/kfrontend/kfdialog.cpp | |
parent | 091b1eface0a6172927a481c8d7e4030f3d2d0b9 (diff) | |
download | tdebase-aa0b92c035cc0b060af4bfa9e512792884ac2dc1.tar.gz tdebase-aa0b92c035cc0b060af4bfa9e512792884ac2dc1.zip |
Use threading and select instead of busywaiting on TDM control socket
This partially resolves Bug 690
Clean up TDM logfile
Diffstat (limited to 'tdm/kfrontend/kfdialog.cpp')
-rw-r--r-- | tdm/kfrontend/kfdialog.cpp | 7 |
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); + } + } } } |