changeset 14826:ed0f820c7ce0 gui

Changed QImage to QPixmap to allow compilation with QScintilla2 < 2.6. * file-editor-tab.cc (file_editor_tab()): Changed marker initializer from QImage to QPixmap.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Mon, 02 Jul 2012 10:51:47 +0200
parents eae0e9f2a8c6
children 6b90737f69cc
files gui/src/m-editor/file-editor-tab.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/src/m-editor/file-editor-tab.cc	Mon Jul 02 09:31:30 2012 +0200
+++ b/gui/src/m-editor/file-editor-tab.cc	Mon Jul 02 10:51:47 2012 +0200
@@ -34,8 +34,8 @@
   _edit_area->setMarginType (1, QsciScintilla::SymbolMargin);
   _edit_area->setMarginSensitivity (1, true);
   _edit_area->markerDefine (QsciScintilla::RightTriangle, bookmark);
-  _edit_area->markerDefine (QImage (":/actions/icons/redled.png"), breakpoint);
-  _edit_area->markerDefine (QImage (":/actions/icons/arrow_right.png"),
+  _edit_area->markerDefine (QPixmap (":/actions/icons/redled.png"), breakpoint);
+  _edit_area->markerDefine (QPixmap (":/actions/icons/arrow_right.png"),
                             debugger_position);
 
   connect (_edit_area, SIGNAL (marginClicked (int, int, Qt::KeyboardModifiers)),