Branch: master

fe3d0d2d 2014-07-09 04:10:12 Michele Calgaro
Fixed warning message on SmbConfigConfigWidget layout. This resolves bug 1887.
M filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp
diff --git a/filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp b/filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp
index 5856528..b3cc0b8 100644
--- a/filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp
+++ b/filesharing/advanced/kcm_sambaconf/smbconfconfigwidget.cpp
@@ -49,7 +49,7 @@
                                 " could not be found;</p>" \
                                 "make sure you have SAMBA installed.\n\n"), this);
 
-  TQHBoxLayout *hbox = new TQHBoxLayout(this);
+  TQHBoxLayout *hbox = new TQHBoxLayout(NULL, 0, KDialog::spacingHint());
   TQPushButton *btn = new TQPushButton(i18n("Specify Location"), this);
   connect(btn, TQT_SIGNAL(pressed()), this, TQT_SLOT( btnPressed()));