summaryrefslogtreecommitdiffstats
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:09:35 +0100
commitf46bd0ca15c6b91df2e9622aab9a4b36c4c59fee (patch)
tree51a287ee7cd6a4f6561e9b322976899e9adaa756
parent2e9822caa4c35b417d07a1c196960bb3ff8bd531 (diff)
downloadtdebindings-f46bd0ca15c6b91df2e9622aab9a4b36c4c59fee.tar.gz
tdebindings-f46bd0ca15c6b91df2e9622aab9a4b36c4c59fee.zip
Fix uninitialized constant Qt::TQt in qtruby.rb
This resolves Bug 2442 Signed-off-by: Michel Nolard <michel.nolard@gmail.com>
-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