summaryrefslogtreecommitdiff
authorleseb <leseb>2002-07-10 17:49:35 (UTC)
committer leseb <leseb>2002-07-10 17:49:35 (UTC)
commit729309f7875915b2617f99228b0a71464ecfe699 (patch) (side-by-side diff)
tree2d2f6e62674bac1807488a3a1684712bc848a101
parent6456ddb2be2a874e858ee25d8463e446b7af58d5 (diff)
downloadopie-729309f7875915b2617f99228b0a71464ecfe699.zip
opie-729309f7875915b2617f99228b0a71464ecfe699.tar.gz
opie-729309f7875915b2617f99228b0a71464ecfe699.tar.bz2
Fix "delete all" message box
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index 27e76d9..974951e 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -331,49 +331,49 @@ void TodoWindow::slotDelete()
return;
table->setPaintingEnabled( false );
table->removeCurrentEntry();
table->setPaintingEnabled( true );
if ( table->numRows() == 0 ) {
currentEntryChanged( -1, 0 );
findAction->setEnabled( FALSE );
}
mStack->raiseWidget(1);
}
void TodoWindow::slotDeleteAll()
{
if(syncing) {
QMessageBox::warning(this, tr("Todo"),
tr("Can not edit data, currently syncing"));
return;
}
//QString strName = table->text( table->currentRow(), 2 ).left( 30 );
- if ( !QPEMessageBox::confirmDelete( this, tr( "Todo" ), tr("Delete all tasks?") ) )
+ if ( !QPEMessageBox::confirmDelete( this, tr( "Todo" ), tr("all tasks") ) )
return;
table->setPaintingEnabled( false );
table->removeAllEntries();
table->setPaintingEnabled( true );
if ( table->numRows() == 0 ) {
currentEntryChanged( -1, 0 );
findAction->setEnabled( FALSE );
}
mStack->raiseWidget(1 );
}
void TodoWindow::slotEdit()
{
if(syncing) {
QMessageBox::warning(this, tr("Todo"),
tr("Can not edit data, currently syncing"));
return;
}
ToDoEvent todo = table->currentEntry();