View Single Post
Old 03-09-2012, 09:41 PM   #45
pkbo
Addict
pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.pkbo can program the VCR without an owner's manual.
 
Posts: 232
Karma: 186410
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