Remove some old TODO items

Change-Id: I43c893176e5a83530f909371fc143dbb0cafd3ba
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Eike Ziller
2012-05-16 12:50:31 +02:00
parent cec8f23879
commit 6e7e6acba4
7 changed files with 6 additions and 14 deletions

View File

@@ -1588,7 +1588,7 @@ bool EditorManager::saveDocumentAs(IDocument *documentParam)
const bool success = DocumentManager::saveDocument(document, absoluteFilePath);
document->checkPermissions();
// @todo: There is an issue to be treated here. The new file might be of a different mime
// TODO: There is an issue to be treated here. The new file might be of a different mime
// type than the original and thus require a different editor. An alternative strategy
// would be to close the current editor and open a new appropriate one, but this is not
// a good way out either (also the undo stack would be lost). Perhaps the best is to

View File

@@ -264,7 +264,7 @@ void EditorView::setCurrentEditor(IEditor *editor)
|| m_container->indexOf(editor->widget()) == -1) {
m_toolBar->updateEditorStatus(0);
m_infoBarDisplay->setInfoBar(0);
// ### TODO the combo box m_editorList should show an empty item
QTC_CHECK(m_container->count() == 0);
return;
}

View File

@@ -51,7 +51,6 @@ public:
QString title() const;
void setTitle(const QString &title);
// TODO rename setError
void setError(bool on);
bool hasError() const;
QSize sizeHint() const;

View File

@@ -182,7 +182,7 @@ void RightPaneWidget::readSettings(QSettings *settings)
if (settings->contains(QLatin1String("RightPane/Visible"))) {
setShown(settings->value(QLatin1String("RightPane/Visible")).toBool());
} else {
setShown(false); //TODO set to false
setShown(false);
}
if (settings->contains(QLatin1String("RightPane/Width"))) {