~ubuntu-branches/ubuntu/vivid/kdepim/vivid

« back to all changes in this revision

Viewing changes to blogilo/src/toolbox.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2013-02-06 11:49:08 UTC
  • mfrom: (0.2.38)
  • Revision ID: package-import@ubuntu.com-20130206114908-eb7adh9xp54jk7gi
Tags: 4:4.10.0a-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        if( Settings::showUpdateEntriesDialog() ) {
153
153
            QPointer<EntriesCountDialog> dia = new EntriesCountDialog( this );
154
154
            dia->setAttribute( Qt::WA_DeleteOnClose, false );
155
 
            if( dia->exec() == 0 )
 
155
            if( !dia->exec() ) {
 
156
                delete dia;
156
157
                return;
 
158
            }
157
159
            count = dia->count();
158
160
            dia->deleteLater();
159
161
        }
447
449
 
448
450
void Toolbox::setButtonsIcon()
449
451
{
450
 
//     btnEntriesReload->setIcon( KIcon( "view-refresh" ) );
451
 
    btnEntriesUpdate->setIcon( KIcon( "arrow-down" ) );
 
452
    btnEntriesUpdate->setIcon( KIcon( "view-refresh" ) );
452
453
    btnEntriesRemove->setIcon( KIcon( "list-remove" ) );
453
454
    btnEntriesClear->setIcon( KIcon( "edit-clear" ) );
454
455
    btnCatReload->setIcon( KIcon( "view-refresh" ) );