OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8b2c150
)
Fix tr()/compiler warnings
author
Friedemann Kleint
<Friedemann.Kleint@nokia.com>
Wed, 28 Oct 2009 16:17:01 +0000
(17:17 +0100)
committer
Friedemann Kleint
<Friedemann.Kleint@nokia.com>
Wed, 28 Oct 2009 16:17:01 +0000
(17:17 +0100)
src/plugins/coreplugin/editormanager/editorview.cpp
patch
|
blob
|
history
src/plugins/cpaster/codepasterprotocol.cpp
patch
|
blob
|
history
src/plugins/projectexplorer/projectwelcomepagewidget.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/coreplugin/editormanager/editorview.cpp
b/src/plugins/coreplugin/editormanager/editorview.cpp
index
5cb4e43
..
743d2f7
100644
(file)
--- a/
src/plugins/coreplugin/editormanager/editorview.cpp
+++ b/
src/plugins/coreplugin/editormanager/editorview.cpp
@@
-68,7
+68,7
@@
using namespace Core;
using namespace Core::Internal;
using namespace Core::Internal;
-//================EditorView====================
+//
================EditorView====================
EditorView::EditorView(OpenEditorsModel *model, QWidget *parent) :
QWidget(parent),
EditorView::EditorView(OpenEditorsModel *model, QWidget *parent) :
QWidget(parent),
diff --git
a/src/plugins/cpaster/codepasterprotocol.cpp
b/src/plugins/cpaster/codepasterprotocol.cpp
index
7661498
..
00eb1f7
100644
(file)
--- a/
src/plugins/cpaster/codepasterprotocol.cpp
+++ b/
src/plugins/cpaster/codepasterprotocol.cpp
@@
-67,9
+67,9
@@
bool CodePasterProtocol::isValidHostName(const QString& hostName)
if (hostName.isEmpty()) {
ICore::instance()->messageManager()->printToOutputPane(
#ifdef Q_OS_MAC
if (hostName.isEmpty()) {
ICore::instance()->messageManager()->printToOutputPane(
#ifdef Q_OS_MAC
- tr("No Server defined in the CodePaster preferences
!
"),
+ tr("No Server defined in the CodePaster preferences
.
"),
#else
#else
- tr("No Server defined in the CodePaster options
!
"),
+ tr("No Server defined in the CodePaster options
.
"),
#endif
true /*error*/);
ICore::instance()->messageManager()->showOutputPane();
#endif
true /*error*/);
ICore::instance()->messageManager()->showOutputPane();
diff --git
a/src/plugins/projectexplorer/projectwelcomepagewidget.cpp
b/src/plugins/projectexplorer/projectwelcomepagewidget.cpp
index
c2c7c9d
..
41a737a
100644
(file)
--- a/
src/plugins/projectexplorer/projectwelcomepagewidget.cpp
+++ b/
src/plugins/projectexplorer/projectwelcomepagewidget.cpp
@@
-125,7
+125,7
@@
void ProjectWelcomePageWidget::updateWelcomePage(const WelcomePageData &welcomeP
if (welcomePageData.projectList.count() > 0) {
foreach (const QStringPair &it, welcomePageData.projectList) {
const QFileInfo fi(it.first);
if (welcomePageData.projectList.count() > 0) {
foreach (const QStringPair &it, welcomePageData.projectList) {
const QFileInfo fi(it.first);
-
QTreeWidgetItem *item =
ui->projTreeWidget->addItem(it.second, it.first, fi.absolutePath());
+ ui->projTreeWidget->addItem(it.second, it.first, fi.absolutePath());
}
} else {
ui->projTreeWidget->hide();
}
} else {
ui->projTreeWidget->hide();