Fixed mouse-events going to wrong widget
authorTorste Aikio <zokier@zokier.laptop>
Tue, 1 Jun 2010 12:15:25 +0000 (15:15 +0300)
committerTorste Aikio <zokier@zokier.laptop>
Tue, 1 Jun 2010 12:15:25 +0000 (15:15 +0300)
src/mainwidget.cpp

index 2ccfae3..76c6231 100644 (file)
@@ -65,7 +65,7 @@ void MainWidget::paintEvent(QPaintEvent*)
  
 void MainWidget::showSettingsDialog()
 {
-    SettingsDlg dlg(this);
+    SettingsDlg dlg;
     dlg.exec();
     update(); // Repaint required if bgAlpha value was changed
 }