summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/tdecmodule/managermodule.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-19 00:35:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-19 00:35:26 +0900
commit1312d2b18e2bdf7a8759e0c43edf90a584ac622a (patch)
treebe2077668456540963a78097d72b7d5002a96ff0 /tdeioslave/media/tdecmodule/managermodule.cpp
parent975f19a704fe395947c209c0fc4c164f3a1de5b6 (diff)
downloadtdebase-1312d2b18e2bdf7a8759e0c43edf90a584ac622a.tar.gz
tdebase-1312d2b18e2bdf7a8759e0c43edf90a584ac622a.zip
Fixed visualization of KControl->Peripherals->Storage Media->Advanced page
when the window is resized. This resolves bug 1698.
Diffstat (limited to 'tdeioslave/media/tdecmodule/managermodule.cpp')
-rw-r--r--tdeioslave/media/tdecmodule/managermodule.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/tdeioslave/media/tdecmodule/managermodule.cpp b/tdeioslave/media/tdecmodule/managermodule.cpp
index 39ea8fe00..6478ee2a8 100644
--- a/tdeioslave/media/tdecmodule/managermodule.cpp
+++ b/tdeioslave/media/tdecmodule/managermodule.cpp
@@ -1,5 +1,5 @@
/* This file is part of the KDE Project
- Copyright (c) 2005 Kévin Ottens <ervin ipsquad net>
+ Copyright (c) 2005 Kévin Ottens <ervin ipsquad net>
Copyright (c) 2006 Valentine Sinitsyn <e_val@inbox.ru>
This library is free software; you can redistribute it and/or
@@ -26,7 +26,8 @@
#include <dcopref.h>
#include <tqbutton.h>
#include <tqcheckbox.h>
-#include <tqcombobox.h>
+#include <kcombobox.h>
+#include <tqlayout.h>
#include <tqobjectlist.h>
#include <kdirnotify_stub.h>
@@ -36,7 +37,10 @@
ManagerModule::ManagerModule( TQWidget* parent, const char* name )
: TDECModule( parent, name )
{
+ TQBoxLayout *layout = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
+
view = new ManagerModuleView( this );
+ layout->addWidget( view );
addConfig( MediaManagerSettings::self(), view );