Fix uninitialized constant Qt::TQt in qtruby.rb

This resolves Bug 2442

Signed-off-by: Michel Nolard <michel.nolard@gmail.com>
pull/1/head
Michel Nolard 9 years ago committed by Slávek Banko
parent 2e9822caa4
commit f46bd0ca15

@ -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

Loading…
Cancel
Save