]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiPainter.h
Avoid extra space in tooltips
[lyx.git] / src / frontends / qt4 / GuiPainter.h
index 9657ed9770c401fe17063c8f62581b39567908dd..7513965ea6ec2df61cb7e49095e6440514980866 100644 (file)
@@ -37,6 +37,9 @@ public:
        GuiPainter(QPaintDevice *, double pixel_ratio);
        virtual ~GuiPainter();
 
+       /// This painter paints
+       virtual bool isNull() const { return false; }
+
        /// draw a line from point to point
        virtual void line(
                int x1, int y1,