summaryrefslogtreecommitdiffabout
path: root/korganizer/kotodoeditor.cpp
authorzautrix <zautrix>2005-02-19 20:47:24 (UTC)
committer zautrix <zautrix>2005-02-19 20:47:24 (UTC)
commitfc2d01e5acc939719f01b9dbe5696d47162514b1 (patch) (side-by-side diff)
tree9a04926c8cb54e54e4c0bf5f47a4f47110f24bfd /korganizer/kotodoeditor.cpp
parent6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6 (diff)
downloadkdepimpi-fc2d01e5acc939719f01b9dbe5696d47162514b1.zip
kdepimpi-fc2d01e5acc939719f01b9dbe5696d47162514b1.tar.gz
kdepimpi-fc2d01e5acc939719f01b9dbe5696d47162514b1.tar.bz2
fix focus
Diffstat (limited to 'korganizer/kotodoeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kotodoeditor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/kotodoeditor.cpp b/korganizer/kotodoeditor.cpp
index 9232e09..f9f037a 100644
--- a/korganizer/kotodoeditor.cpp
+++ b/korganizer/kotodoeditor.cpp
@@ -135,10 +135,2 @@ void KOTodoEditor::setupGeneral()
if ( QApplication::desktop()->width() < 321 )
- icon = SmallIcon("fileexport16");
- else
- icon = SmallIcon("fileexport");
- QPushButton * saveTemplate = new QPushButton( prioWidget);
- saveTemplate->setIconSet (icon ) ;
- int size = saveTemplate->sizeHint().height();
- saveTemplate->setFixedSize( size, size );
- if ( QApplication::desktop()->width() < 321 )
icon = SmallIcon("fileimport16");
@@ -148,3 +140,11 @@ void KOTodoEditor::setupGeneral()
loadTemplate->setIconSet (icon ) ;
+ int size = loadTemplate->sizeHint().height();
loadTemplate->setFixedSize( size, size );
+ if ( QApplication::desktop()->width() < 321 )
+ icon = SmallIcon("fileexport16");
+ else
+ icon = SmallIcon("fileexport");
+ QPushButton * saveTemplate = new QPushButton( prioWidget);
+ saveTemplate->setIconSet (icon ) ;
+ saveTemplate->setFixedSize( size, size );