Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Network
KRDC
Commits
38b3e8bb
Commit
38b3e8bb
authored
Aug 27, 2010
by
Burkhard Lück
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
port from branch 1168852: add missing i18n call
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1168853
parent
32fe7ddc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mainwindow.cpp
mainwindow.cpp
+2
-2
No files found.
mainwindow.cpp
View file @
38b3e8bb
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment