Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
kdepim4
r900008.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r900008.diff of Package kdepim4
Subject: korganizer: fix agendaview configuration From: wstephenson@suse.de Bug: Patch-upstream: 900008 --- korganizer/koprefsdialog.h (revision 900007) +++ korganizer/koprefsdialog.h (revision 900008) @@ -34,13 +34,16 @@ #include <QSet> class KLineEdit; -class QLabel; class KComboBox; class KColorButton; class KPushButton; -class QColor; -class Q3ListView; class KComponentData; + +class Q3ListView; +class QCheckBox; +class QColor; +class QLabel; +class QRadioButton; class QGroupBox; class QTreeWidget; @@ -153,8 +156,8 @@ class KCM_KORGANIZER_EXPORT KOPrefsDialo KPushButton *mConfigureButton; QGroupBox *mPositioningGroupBox; QCheckBox *mPositionMonthTop; - QCheckBox *mPositionAgendaTop; - QCheckBox *mPositionAgendaBottom; + QRadioButton *mPositionAgendaTop; + QRadioButton *mPositionAgendaBottom; QSet<QString> mDecorationsAtMonthViewTop; QSet<QString> mDecorationsAtAgendaViewTop; QSet<QString> mDecorationsAtAgendaViewBottom; --- korganizer/koprefsdialog.cpp (revision 900007) +++ korganizer/koprefsdialog.cpp (revision 900008) @@ -1257,9 +1257,9 @@ KOPrefsDialogPlugins::KOPrefsDialogPlugi mPositioningGroupBox = new QGroupBox( i18nc( "@title:group", "Position" ), topFrame ); mPositionMonthTop = new QCheckBox( i18nc( "@option:check", "Show in the month view" ), mPositioningGroupBox ); - mPositionAgendaTop = new QCheckBox( + mPositionAgendaTop = new QRadioButton( i18nc( "@option:check", "Show at the top of the agenda views" ), mPositioningGroupBox ); - mPositionAgendaBottom = new QCheckBox( + mPositionAgendaBottom = new QRadioButton( i18nc( "@option:check", "Show at the bottom of the agenda views" ), mPositioningGroupBox ); QVBoxLayout *positioningLayout = new QVBoxLayout( mPositioningGroupBox ); positioningLayout->addWidget( mPositionMonthTop ); @@ -1393,7 +1393,7 @@ void KOPrefsDialogPlugins::positioningCh mDecorationsAtMonthViewTop.remove( decoration ); } - if ( mPositionAgendaTop->checkState() == Qt::Checked ) { + if ( mPositionAgendaTop->isChecked() ) { if ( !mDecorationsAtAgendaViewTop.contains( decoration ) ) { mDecorationsAtAgendaViewTop.insert( decoration ); } @@ -1401,7 +1401,7 @@ void KOPrefsDialogPlugins::positioningCh mDecorationsAtAgendaViewTop.remove( decoration ); } - if ( mPositionAgendaBottom->checkState() == Qt::Checked ) { + if ( mPositionAgendaBottom->isChecked() ) { if ( !mDecorationsAtAgendaViewBottom.contains( decoration ) ) { mDecorationsAtAgendaViewBottom.insert( decoration ); } Index: korganizer/koprefsdialog.h =================================================================== Index: korganizer/koprefsdialog.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor