All pastes #230497 Raw Edit

agateau

public text v1 · immutable
#230497 ·published 2006-10-31 08:46 UTC
rendered paste body
Index: src/presentation/qt/chat/QtChatAvatarWidget.cpp
===================================================================
--- src/presentation/qt/chat/QtChatAvatarWidget.cpp     (revision 8218)
+++ src/presentation/qt/chat/QtChatAvatarWidget.cpp     (working copy)
@@ -50,7 +50,7 @@

        if (!pixmap.isNull()) {
                        switch (_pictureMode) {
-                       case HUGE:
+                       case _HUGE:
                                painter.drawPixmap(0, 0, pixmap.scaled(96, 96, Qt::IgnoreAspectRatio, Qt::SmoothTransformation));
                                _ui.pictureLabel->resize(96, 96);
                                setMinimumSize(96, 96);
Index: src/presentation/qt/chat/QtChatAvatarWidget.h
===================================================================
--- src/presentation/qt/chat/QtChatAvatarWidget.h       (revision 8218)
+++ src/presentation/qt/chat/QtChatAvatarWidget.h       (working copy)
@@ -34,7 +34,7 @@
 public:

        enum PictureMode {
-               HUGE,                   // 96x96
+               _HUGE,                  // 96x96
                BIG,                    // 60x60
                MEDIUM,                 // 48x48
                SMALL,                  // 24x24