summaryrefslogtreecommitdiffstats
path: root/qtruby
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby')
-rw-r--r--qtruby/rubylib/qtruby/Qt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtruby/rubylib/qtruby/Qt.cpp b/qtruby/rubylib/qtruby/Qt.cpp
index 1a7bd7d9..0c33796f 100644
--- a/qtruby/rubylib/qtruby/Qt.cpp
+++ b/qtruby/rubylib/qtruby/Qt.cpp
@@ -1759,8 +1759,8 @@ qapplication_argv(VALUE /*self*/)
{
VALUE result = rb_ary_new();
// Drop argv[0], as it isn't included in the ruby global ARGV
- for (int index = 1; index < qApp->argc(); index++) {
- rb_ary_push(result, rb_str_new2(qApp->argv()[index]));
+ for (int index = 1; index < tqApp->argc(); index++) {
+ rb_ary_push(result, rb_str_new2(tqApp->argv()[index]));
}
return result;