Skip to content

Commit

Permalink
Indent according to coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed Nov 6, 2018
1 parent c03570a commit 3755d10
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/YQPkgObjList.cc
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,12 @@ YQPkgObjList::createActions()
actionSetCurrentKeepInstalled = createAction( S_KeepInstalled, "[<], [-]" );
actionSetCurrentDelete = createAction( S_Del, "[-]" );
actionSetCurrentUpdate = createAction( S_Update, "[>], [+]" );
actionSetCurrentUpdateForce = createAction( _( "Update unconditionally" ), statusIcon( S_Update, true ) ,statusIcon( S_Update, false ) , "", true ) ;

actionSetCurrentUpdateForce = createAction( _( "Update unconditionally" ),
statusIcon( S_Update, true ),
statusIcon( S_Update, false ) ,
"",
true ) ;



Expand Down Expand Up @@ -557,7 +562,7 @@ void
YQPkgObjList::updateActions( YQPkgObjListItem * item )
{
if ( !item)
item = dynamic_cast<YQPkgObjListItem *> ( currentItem() );
item = dynamic_cast<YQPkgObjListItem *> ( currentItem() );

if ( item )
{
Expand Down Expand Up @@ -799,6 +804,7 @@ YQPkgObjList::logExcludeStatistics()
}
}


void
YQPkgObjList::applyExcludeRules( QTreeWidgetItem * listViewItem )
{
Expand Down Expand Up @@ -1655,7 +1661,7 @@ void YQPkgObjList::slotCustomContextMenu(const QPoint& pos)

QMenu * contextMenu =
! item->selectable()->installedEmpty() ?
installedContextMenu() : notInstalledContextMenu();
installedContextMenu() : notInstalledContextMenu();

if ( contextMenu )
contextMenu->popup( viewport()->mapToGlobal( pos ) );
Expand Down

0 comments on commit 3755d10

Please sign in to comment.