From 3eb78ab13428376c89bca759c2ed7306db927ec2 Mon Sep 17 00:00:00 2001 From: Jan Wedekind Date: Fri, 3 Feb 2012 19:01:48 +0000 Subject: [PATCH] Added comment indicating how to fix code for new version of Qt4-QtRuby --- mainwindow.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/mainwindow.rb b/mainwindow.rb index 2179328..991d289 100644 --- a/mainwindow.rb +++ b/mainwindow.rb @@ -113,6 +113,7 @@ def calibrate flags |= Qt::DialogType flags |= Qt::FramelessWindowHint @calibration.windowFlags = flags + # @calibration.setWindowFlags(Qt::FramelessWindowHint || Qt::DialogType) @calibration.cursor = Qt::Cursor.new Qt::BlankCursor connect @ui.action_quit, SIGNAL('triggered()'), self, SLOT('close()') connect self, SIGNAL('ir_clicked(int,int)'), @calibration, SLOT('add_point(int,int)')