Commit ebfe7479 authored by Laurent Montel's avatar Laurent Montel 😁

Minor

parent 0b92043c
......@@ -114,7 +114,7 @@ AlarmDockWindow::~AlarmDockWindow()
void AlarmDockWindow::slotUpdate( int reminders )
{
bool actif = ( reminders > 0 );
const bool actif = ( reminders > 0 );
mSuspendAll->setEnabled( actif );
mDismissAll->setEnabled( actif );
if ( actif ) {
......
......@@ -103,7 +103,7 @@ KOAlarmClient::~KOAlarmClient()
void checkAllItems( KCheckableProxyModel *model, const QModelIndex &parent = QModelIndex() )
{
const int rowCount = model->rowCount( parent );
for ( int row = 0; row < rowCount; row++ ) {
for ( int row = 0; row < rowCount; ++row ) {
QModelIndex index = model->index( row, 0, parent );
model->setData( index, Qt::Checked, Qt::CheckStateRole );
......
Markdown is supported
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