summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/kfdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-06 16:57:38 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-06 16:57:38 -0500
commitaa0b92c035cc0b060af4bfa9e512792884ac2dc1 (patch)
tree96e80cd34541655b82c0a616506334c5b2fab51c /tdm/kfrontend/kfdialog.cpp
parent091b1eface0a6172927a481c8d7e4030f3d2d0b9 (diff)
downloadtdebase-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.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);
+ }
+ }
}
}