summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
authorMichel Nolard <michel.nolard@gmail.com>2015-12-06 16:09:35 +0100
committerSlávek Banko <slavek.banko@axis.cz>2015-12-06 16:12:14 +0100
commit1b41f605e68f32309ffe39edabe4e905deb04055 (patch)
tree489e7aa7cdcb84afd09fefc6e8e4b6f4faba4fbd /qtruby
parentdc5f265d3ef181d9bec05429f2f97a1868757d2a (diff)
downloadtdebindings-1b41f605e68f32309ffe39edabe4e905deb04055.tar.gz
tdebindings-1b41f605e68f32309ffe39edabe4e905deb04055.zip
Fix uninitialized constant Qt::TQt in qtruby.rb
This resolves Bug 2442 Signed-off-by: Michel Nolard <michel.nolard@gmail.com> (cherry picked from commit f46bd0ca15c6b91df2e9622aab9a4b36c4c59fee)
Diffstat (limited to 'qtruby')
-rw-r--r--qtruby/rubylib/qtruby/lib/Qt/qtruby.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb b/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb
index a0866277..4197e9f6 100644
--- a/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb
+++ b/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb
@@ -17,7 +17,7 @@
***************************************************************************/
=end
-module Qt
+module TQt
module DebugLevel
Off, Minimal, High, Extensive = 0, 1, 2, 3
end
@@ -34,12 +34,12 @@ module Qt
end
@@debug_level = DebugLevel::Off
- def Qt.debug_level=(level)
+ def TQt.debug_level=(level)
@@debug_level = level
Internal::setDebug TQt::QtDebugChannel::TQTDB_ALL if level >= DebugLevel::Extensive
end
- def Qt.debug_level
+ def TQt.debug_level
@@debug_level
end