summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer/uilib/qui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/designer/uilib/qui.cpp')
-rw-r--r--qtruby/rubylib/designer/uilib/qui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtruby/rubylib/designer/uilib/qui.cpp b/qtruby/rubylib/designer/uilib/qui.cpp
index e587eee8..c52a40f2 100644
--- a/qtruby/rubylib/designer/uilib/qui.cpp
+++ b/qtruby/rubylib/designer/uilib/qui.cpp
@@ -93,7 +93,7 @@ create(int argc, VALUE * argv, VALUE /*klass*/)
TQIODevice * dev = 0;
smokeruby_object *o = value_obj_info(argv[0]);
- if (o != 0 && o->ptr != 0 && o->classId == qt_Smoke->idClass("TQIODevice")) {
+ if (o != 0 && o->ptr != 0 && o->classId == qt_Smoke->idClass("QIODevice")) {
dev = (TQIODevice *) o->ptr;
} else {
rb_raise(rb_eArgError, "invalid argument type\n");