From f46bd0ca15c6b91df2e9622aab9a4b36c4c59fee Mon Sep 17 00:00:00 2001 From: Michel Nolard Date: Sun, 6 Dec 2015 16:09:35 +0100 Subject: Fix uninitialized constant Qt::TQt in qtruby.rb This resolves Bug 2442 Signed-off-by: Michel Nolard --- qtruby/rubylib/qtruby/lib/Qt/qtruby.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qtruby') 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 -- cgit v1.2.3