View Single Post
Old 03-09-2012, 08:41 PM   #45
pkbo
Addict
pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.pkbo ought to be getting tired of karma fortunes by now.
 
Posts: 251
Karma: 214890
Join Date: Sep 2006
Device: none
Quote:
Originally Posted by tuxor View Post
to try out things like implementing anti-aliased brushes, different colors,
I afraid this wouldn't work, only black and white screen update is reasonably fast.

peterx, if I try to open file and then change my mind and close file explorer dialog scribble app will stop drawing. The following patch should fix it:
Spoiler:

Code:
@@ -236,9 +236,8 @@ void MainWidget::open()
 
     FileBrowser fileBrowser(this);
     QString path = fileBrowser.showLoadFile(currentFile.fileName());
-    if (path.isEmpty())
-        return;
-    loadFile(QFile(path));
+    if (!path.isEmpty())
+       loadFile(QFile(path));
 
     touchActive = true;
 }
pkbo is offline   Reply With Quote