summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kofilterview.cpp11
-rw-r--r--korganizer/kofilterview.h2
2 files changed, 10 insertions, 3 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp
index a653c18..105028a 100644
--- a/korganizer/kofilterview.cpp
+++ b/korganizer/kofilterview.cpp
@@ -153,2 +153,3 @@ KOCalEditView::KOCalEditView(QWidget* parent,
setMidLineWidth ( 1 );
+ setFocusPolicy(NoFocus);
}
@@ -230,3 +231,3 @@ void KOCalEditView::deleteCal( int id )
QString file = kkf->mFileName;
- if ( KMessageBox::warningContinueCancel( this, i18n("The calendar <b>%1</b> is displaying file <b>%2</b><tr> Do you want to remove this calendar from KO/Pi? (The file is not removed, of course!)").arg(name).arg(file) ) != KMessageBox::Continue ) return;
+ if ( KMessageBox::warningContinueCancel( this, i18n("The calendar<tr><b>%1</b><tr>is displaying file<tr><b>%2</b><tr>Do you want to remove<tr>this calendar from KO/Pi?<tr>(The file is not removed!)").arg(name).arg(file) ) != KMessageBox::Continue ) return;
if ( kkf->isStandard )
@@ -243,3 +244,3 @@ void KOCalEditView::infoCal( int id )
if ( KOPrefs::instance()->getCalendar( id )->mErrorOnLoad ) {
- if ( KMessageBox::Yes == KMessageBox::questionYesNo( this, i18n("The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>").arg(name).arg(file) ) ) {
+ if ( KMessageBox::Yes == KMessageBox::questionYesNo( this, i18n("The calendar <tr><b>%1</b><tr> is not loaded! Loading of file <tr><b>%2</b><tr> failed! <tr><b>Try again to load the calendar?</b>").arg(name).arg(file) ) ) {
emit calendarAdded( id );
@@ -250,3 +251,3 @@ void KOCalEditView::infoCal( int id )
else
- KMessageBox::information( this, i18n("The calendar <b>%1</b> is displaying file <b>%2</b>").arg(name).arg(file) );
+ KMessageBox::information( this, i18n("The calendar <tr><b>%1</b><tr>is displaying file<tr><b>%2</b>").arg(name).arg(file) );
}
@@ -268,2 +269,3 @@ void KOCalEditView::readConfig()
QPushButton * addBut = new QPushButton ( mw );
+ addBut->setFocusPolicy(NoFocus);
mainLayout->addWidget( addBut,0,0 );
@@ -274,2 +276,3 @@ void KOCalEditView::readConfig()
addBut = new QPushButton ( mw );
+ addBut->setFocusPolicy(NoFocus);
mainLayout->addWidget( addBut,0,1 );
@@ -285,2 +288,3 @@ void KOCalEditView::readConfig()
addBut = new QPushButton ( mw );
+ addBut->setFocusPolicy(NoFocus);
mainLayout->addWidget( addBut,0,4 );
@@ -291,2 +295,3 @@ void KOCalEditView::readConfig()
addBut = new QPushButton ( mw );
+ addBut->setFocusPolicy(NoFocus);
mainLayout->addWidget( addBut,0,5 );
diff --git a/korganizer/kofilterview.h b/korganizer/kofilterview.h
index e2ebdd4..3ab316f 100644
--- a/korganizer/kofilterview.h
+++ b/korganizer/kofilterview.h
@@ -47,2 +47,3 @@ class KOCalButton : public QPushButton
mNumber = -1;
+ setFocusPolicy(NoFocus);
}
@@ -71,2 +72,3 @@ class KOCalCheckButton : public QCheckBox
mNumber = -1;
+ setFocusPolicy(NoFocus);
//setMaximumWidth( 10 );