View Single Post
Old 03-09-2012, 09:41 PM   #45
pkbo
Addict
pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.pkbo inspires wonder wherever he or she goes.
 
Posts: 221
Karma: 151588
Join Date: Sep 2006
Device: PocketBook 360
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