Diffstat (limited to 'noncore/settings/sound/soundsettingsbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index 84187d2..2d894c6 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp | |||
@@ -59,25 +59,26 @@ static const char* const image1_data[] = { | |||
59 | "................", | 59 | "................", |
60 | "................"}; | 60 | "................"}; |
61 | 61 | ||
62 | 62 | ||
63 | /* | 63 | /* |
64 | * Constructs a SoundSettingsBase which is a child of 'parent', with the | 64 | * Constructs a SoundSettingsBase which is a child of 'parent', with the |
65 | * name 'name' and widget flags set to 'f' | 65 | * name 'name' and widget flags set to 'f' |
66 | * | 66 | * |
67 | * The dialog will by default be modeless, unless you set 'modal' to | 67 | * The dialog will by default be modeless, unless you set 'modal' to |
68 | * TRUE to construct a modal dialog. | 68 | * TRUE to construct a modal dialog. |
69 | */ | 69 | */ |
70 | SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool modal, WFlags fl ) | 70 | SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool modal, WFlags fl ) |
71 | : QMainWindow( parent, name, fl ) | 71 | : QDialog( parent, name, fl ) |
72 | // : QMainWindow( parent, name, fl ) | ||
72 | { | 73 | { |
73 | QPixmap image0( ( const char** ) image0_data ); | 74 | QPixmap image0( ( const char** ) image0_data ); |
74 | QPixmap image1( ( const char** ) image1_data ); | 75 | QPixmap image1( ( const char** ) image1_data ); |
75 | if ( !name ) | 76 | if ( !name ) |
76 | setName( "SoundSettingsBase" ); | 77 | setName( "SoundSettingsBase" ); |
77 | // resize(255,301); | 78 | // resize(255,301); |
78 | setCaption( tr( "Vmemo Settings" ) ); | 79 | setCaption( tr( "Vmemo Settings" ) ); |
79 | 80 | ||
80 | SoundSettingsBaseLayout = new QGridLayout( this ); | 81 | SoundSettingsBaseLayout = new QGridLayout( this ); |
81 | SoundSettingsBaseLayout->setSpacing( 4 ); | 82 | SoundSettingsBaseLayout->setSpacing( 4 ); |
82 | SoundSettingsBaseLayout->setMargin( 4 ); | 83 | SoundSettingsBaseLayout->setMargin( 4 ); |
83 | 84 | ||