Commit b7e03ffd authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix tr()/compiler warnings

parent 8b2c1501
......@@ -68,7 +68,7 @@ using namespace Core;
using namespace Core::Internal;
//================EditorView====================
// ================EditorView====================
EditorView::EditorView(OpenEditorsModel *model, QWidget *parent) :
QWidget(parent),
......
......@@ -67,9 +67,9 @@ bool CodePasterProtocol::isValidHostName(const QString& hostName)
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
tr("No Server defined in the CodePaster options!"),
tr("No Server defined in the CodePaster options."),
#endif
true /*error*/);
ICore::instance()->messageManager()->showOutputPane();
......
......@@ -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);
QTreeWidgetItem *item = ui->projTreeWidget->addItem(it.second, it.first, fi.absolutePath());
ui->projTreeWidget->addItem(it.second, it.first, fi.absolutePath());
}
} else {
ui->projTreeWidget->hide();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment