Commit b5e76496 authored by Allen Winter's avatar Allen Winter
Browse files

Give icons to the configuration windows

BUG: 306965
FIXED-IN: 4.10
-> Backport to the 4.9 branch if the Release Team decides to have 4.9.5
-> Markus: feel free to reopen if you find more instances
(cherry picked from commit 6e2333b9)
parent ca6b44f5
......@@ -125,6 +125,7 @@ void CalendarResource::error( const KGAPI::Error errCode, const QString &msg )
void CalendarResource::configure( WId windowId )
{
SettingsDialog *settingsDialog = new SettingsDialog( windowId );
settingsDialog->setWindowIcon( KIcon( "im-google" ) );
if ( settingsDialog->exec() == KDialog::Accepted ) {
Q_EMIT configurationDialogAccepted();
......
......@@ -136,6 +136,7 @@ void ContactsResource::error( Error errCode, const QString &msg )
void ContactsResource::configure( WId windowId )
{
SettingsDialog *settingsDialog = new SettingsDialog( windowId );
settingsDialog->setWindowIcon( KIcon( "im-google" ) );
if ( settingsDialog->exec() == KDialog::Accepted ) {
Q_EMIT configurationDialogAccepted();
......
......@@ -124,6 +124,7 @@ void KABCResource::configure( WId windowId )
KRES::ConfigDialog dlg( 0, QLatin1String( "contact" ), mBaseResource );
if ( windowId )
KWindowSystem::setMainWindow( &dlg, windowId );
dlg.setWindowIcon( KIcon( "text-directory" ) );
if ( dlg.exec() ) {
setName( mBaseResource->resourceName() );
manager->writeConfig( KGlobal::config().data() );
......
......@@ -331,6 +331,7 @@ KResourceAssistant::KResourceAssistant( const QString& resourceFamily, QWidget *
setModal( true );
setCaption( i18nc( "@title:window", "KDE Compatibility Assistant" ) );
setWindowIcon( KIcon( "text-directory" ) );
QWidget *introPage = new CompatibilityIntroductionLabel( this );
addPage( introPage, QLatin1String( " " ) );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment