[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kio
From: Stephan Binner <binner () kde ! org>
Date: 2004-04-07 8:08:58
Message-ID: 20040407080858.8BF5799F5 () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
Dumb QPushButton icon fixes
M +4 -2 bookmarks/kbookmarkmenu.cc 1.236
M +3 -2 kssl/ksslinfodlg.cc 1.50
--- kdelibs/kio/bookmarks/kbookmarkmenu.cc #1.235:1.236
@@ -817,7 +817,9 @@ KBookmarkEditDialog::KBookmarkEditDialog
if (editType == InsertionMode) {
setButtonText( User1, i18n( "&New Folder..." ) );
+ if (KGlobalSettings::showIconsOnPushButtons()) {
actionButton( User1 )->setIconSet( SmallIcon( "folder_new" ) );
actionButton( Ok )->setIconSet( SmallIcon( "bookmark_add" ) );
}
+ }
bool folder = url.isNull();
--- kdelibs/kio/kssl/ksslinfodlg.cc #1.49:1.50
@@ -105,11 +105,12 @@ KSSLInfoDlg::KSSLInfoDlg(bool secureConn
QPushButton *button;
+ bool buttonicon = KGlobalSettings::showIconsOnPushButtons();
if (KSSL::doesSSLWork()) {
- button = new QPushButton(SmallIcon("configure"),i18n("C&ryptography \
Configuration..."), this); + button = new \
QPushButton(buttonicon?SmallIcon("configure"):0, i18n("C&ryptography \
Configuration..."), this); connect(button, SIGNAL(clicked()), SLOT(launchConfig()));
buttonLayout->addWidget( button );
}
- button = new QPushButton(SmallIcon("fileclose"),i18n("&Close"), this);
+ button = new QPushButton(buttonicon?SmallIcon("fileclose"):0,i18n("&Close"), \
this); connect(button, SIGNAL(clicked()), SLOT(close()));
buttonLayout->addWidget( button );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic