Commit 38b3e8bb authored by Burkhard Lück's avatar Burkhard Lück

port from branch 1168852: add missing i18n call

svn path=/trunk/KDE/kdenetwork/krdc/; revision=1168853
parent 32fe7ddc
...@@ -131,7 +131,7 @@ MainWindow::MainWindow(QWidget *parent) ...@@ -131,7 +131,7 @@ MainWindow::MainWindow(QWidget *parent)
updateActionStatus(); // disable remote view actions updateActionStatus(); // disable remote view actions
if (Settings::openSessions().count() == 0) // just create a new connection tab if there are no open sessions if (Settings::openSessions().count() == 0) // just create a new connection tab if there are no open sessions
m_tabWidget->addTab(newConnectionWidget(), "New Connection"); m_tabWidget->addTab(newConnectionWidget(), i18n("New Connection"));
setAutoSaveSettings(); // e.g toolbar position, mainwindow size, ... setAutoSaveSettings(); // e.g toolbar position, mainwindow size, ...
...@@ -1161,7 +1161,7 @@ void MainWindow::newConnectionPage() ...@@ -1161,7 +1161,7 @@ void MainWindow::newConnectionPage()
if (indexOfNewConnectionWidget >= 0) if (indexOfNewConnectionWidget >= 0)
m_tabWidget->setCurrentIndex(indexOfNewConnectionWidget); m_tabWidget->setCurrentIndex(indexOfNewConnectionWidget);
else { else {
const int index = m_tabWidget->addTab(newConnectionWidget(), "New Connection"); const int index = m_tabWidget->addTab(newConnectionWidget(), i18n("New Connection"));
m_tabWidget->setCurrentIndex(index); m_tabWidget->setCurrentIndex(index);
} }
#if 0 // not usable anymore, probably use it in another way? -uwolfer #if 0 // not usable anymore, probably use it in another way? -uwolfer
......
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