Mercurial > hg > octave-nkf
comparison libgui/src/files-dock-widget.cc @ 16865:a86327a7d9fb
fix of typos in text strings of the gui
* settings-dialog.ui, settings-dialog.cc(read_lexer_settings),
octave-dock-widget.cc(make_widget), files-dock-widget.cc(contextmenu_delete)
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 29 Jun 2013 09:21:43 +0200 |
parents | d749c9b588e5 |
children | 944ade6e7f66 |
comparison
equal
deleted
inserted
replaced
16864:06657ee17aa2 | 16865:a86327a7d9fb |
---|---|
503 QModelIndex index = *it; | 503 QModelIndex index = *it; |
504 | 504 |
505 QFileInfo info = _file_system_model->fileInfo(index); | 505 QFileInfo info = _file_system_model->fileInfo(index); |
506 | 506 |
507 if(QMessageBox::question(this, tr("Delete file/directory"), | 507 if(QMessageBox::question(this, tr("Delete file/directory"), |
508 tr("Are you sre you want to delete\n") + info.filePath(), | 508 tr("Are you sure you want to delete\n") + info.filePath(), |
509 QMessageBox::Yes|QMessageBox::No) == QMessageBox::Yes) | 509 QMessageBox::Yes|QMessageBox::No) == QMessageBox::Yes) |
510 { | 510 { |
511 if(info.isDir()) | 511 if(info.isDir()) |
512 { | 512 { |
513 // see if direcory is empty | 513 // see if direcory is empty |