No point in populating the compositingType combo ourselves, do it in Designer instead
svn path=/trunk/KDE/kdebase/workspace/; revision=690305
This commit is contained in:
parent
887caff1c4
commit
5db0b94027
2 changed files with 12 additions and 4 deletions
|
@ -28,9 +28,6 @@ KWinAdvancedCompositingOptions::KWinAdvancedCompositingOptions(QWidget* parent,
|
|||
ui.setupUi(mainWidget);
|
||||
setMainWidget(mainWidget);
|
||||
|
||||
ui.compositingType->insertItem(0, i18n("OpenGL"));
|
||||
ui.compositingType->insertItem(1, i18n("XRender"));
|
||||
|
||||
connect(ui.compositingType, SIGNAL(currentIndexChanged(int)), this, SLOT(changed()));
|
||||
|
||||
connect(this, SIGNAL(okClicked()), this, SLOT(save()));
|
||||
|
|
|
@ -23,7 +23,18 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="compositingType" />
|
||||
<widget class="QComboBox" name="compositingType" >
|
||||
<item>
|
||||
<property name="text" >
|
||||
<string>OpenGL</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text" >
|
||||
<string>XRender</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
|
|
Loading…
Reference in a new issue