diff --git a/src/plugins/todo/constants.h b/src/plugins/todo/constants.h index 2543e55796f1d2163505a2fbe086713e733c35cc..9534ac2b29f1bfe52d91edebf9f70782b716da7f 100644 --- a/src/plugins/todo/constants.h +++ b/src/plugins/todo/constants.h @@ -55,10 +55,6 @@ const char ICON_TODO[] = ":/todoplugin/images/todo.png"; const char ICON_WARNING[] = ":/projectexplorer/images/compile_warning.png"; const char ICON_ERROR[] = ":/projectexplorer/images/compile_error.png"; -// Public domain, I am the author -const char ICON_CURRENT_FILE[] = ":/todoplugin/images/current-file.png"; -const char ICON_WHOLE_PROJECT[] = ":/todoplugin/images/whole-project.png"; - // Settings entries const char SETTINGS_GROUP[] = "TodoPlugin"; diff --git a/src/plugins/todo/images/current-file.png b/src/plugins/todo/images/current-file.png deleted file mode 100644 index 486c7112bf97b1738391a163760d39e7ddc8e497..0000000000000000000000000000000000000000 Binary files a/src/plugins/todo/images/current-file.png and /dev/null differ diff --git a/src/plugins/todo/images/whole-project.png b/src/plugins/todo/images/whole-project.png deleted file mode 100644 index 595eea76f49b7616f33cf882d71aa68a0e1006cd..0000000000000000000000000000000000000000 Binary files a/src/plugins/todo/images/whole-project.png and /dev/null differ diff --git a/src/plugins/todo/todooutputpane.cpp b/src/plugins/todo/todooutputpane.cpp index dbc21fe21b47b6b913d4bf12b148008ec4da2dac..6efa68fafd8758c124b7870e2fae3e5252ecb632 100755 --- a/src/plugins/todo/todooutputpane.cpp +++ b/src/plugins/todo/todooutputpane.cpp @@ -187,13 +187,13 @@ void TodoOutputPane::freeTreeView() void TodoOutputPane::createScopeButtons() { m_currentFileButton = new QToolButton(); - m_currentFileButton->setIcon(QIcon(QLatin1String(Constants::ICON_CURRENT_FILE))); m_currentFileButton->setCheckable(true); + m_currentFileButton->setText(tr("Current File")); m_currentFileButton->setToolTip(tr("Scan in the current opened file")); m_wholeProjectButton = new QToolButton(); - m_wholeProjectButton->setIcon(QIcon(QLatin1String(Constants::ICON_WHOLE_PROJECT))); m_wholeProjectButton->setCheckable(true); + m_wholeProjectButton->setText(tr("Whole Project")); m_wholeProjectButton->setToolTip(tr("Scan in the whole project")); m_scopeButtons = new QButtonGroup(); diff --git a/src/plugins/todo/todoplugin.qrc b/src/plugins/todo/todoplugin.qrc index 42ebc79ca6e44780da9b15657e40cd34b704fae1..a7d1a2c239fd3121df0bdf9c2af053eabe2ce935 100644 --- a/src/plugins/todo/todoplugin.qrc +++ b/src/plugins/todo/todoplugin.qrc @@ -2,7 +2,5 @@ <qresource prefix="/todoplugin"> <file>images/todo.png</file> <file>images/info.png</file> - <file>images/current-file.png</file> - <file>images/whole-project.png</file> </qresource> </RCC>