Branch: master

9e0468a8 2014-08-16 08:54:10 Michele Calgaro
Fixed TQLayout warning message on start up. This relates to bug 1947.
M kftpgrabber/src/widgets/browser/view.cpp
diff --git a/kftpgrabber/src/widgets/browser/view.cpp b/kftpgrabber/src/widgets/browser/view.cpp
index 43fb3e2..f4b1393 100644
--- a/kftpgrabber/src/widgets/browser/view.cpp
+++ b/kftpgrabber/src/widgets/browser/view.cpp
@@ -166,7 +166,7 @@
   m_splitter->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
 
   // Create a status bar
-  TQHBoxLayout *statusLayout = new TQHBoxLayout(this);
+  TQHBoxLayout *statusLayout = new TQHBoxLayout();
 
   m_connDurationMsg = new TQLabel(this);
   m_connDurationMsg->setAlignment(AlignAuto | AlignVCenter | AlignHCenter | ExpandTabs);