[X2Go-Commits] [x2goclient] 05/08: onmainwindow.h: make get_translator() const. Does not change any state.
git-admin at x2go.org
git-admin at x2go.org
Mon May 11 07:02:31 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/translation
in repository x2goclient.
commit ddbf9b424ca01e79cf4a6912ddb435b1a7618662
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon May 11 06:58:35 2015 +0200
onmainwindow.h: make get_translator() const. Does not change any state.
---
debian/changelog | 1 +
src/onmainwindow.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 81c497e..11da0d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -389,6 +389,7 @@ x2goclient (4.0.4.0-0x2go1) UNRELEASED; urgency=low
- onmainwindow.h: include used types/headers.
- onmainwindow.cpp: correctly call QLocale::uiLanguages ().
- onmainwindow.cpp: copy strings before manipulating them.
+ - onmainwindow.h: make get_translator() const. Does not change any state.
[ Fernando Pedemonte ]
* New upstream release (4.0.4.0):
diff --git a/src/onmainwindow.h b/src/onmainwindow.h
index 6db35a2..ecf910b 100644
--- a/src/onmainwindow.h
+++ b/src/onmainwindow.h
@@ -983,7 +983,7 @@ private:
* Otherwise returns true and sets the translator object to loaded
* translation.
*/
- static bool get_translator (QString file_name_start, QTranslator **translator);
+ static bool get_translator (const QString file_name_start, QTranslator **translator) const;
protected:
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list