equal
deleted
inserted
replaced
1117 return false; |
1117 return false; |
1118 } |
1118 } |
1119 |
1119 |
1120 bool QGifHandler::supportsOption(ImageOption option) const |
1120 bool QGifHandler::supportsOption(ImageOption option) const |
1121 { |
1121 { |
1122 return option == Size |
1122 if (!device() || device()->isSequential()) |
1123 || option == Animation; |
1123 return option == Animation; |
|
1124 else |
|
1125 return option == Size |
|
1126 || option == Animation; |
1124 } |
1127 } |
1125 |
1128 |
1126 QVariant QGifHandler::option(ImageOption option) const |
1129 QVariant QGifHandler::option(ImageOption option) const |
1127 { |
1130 { |
1128 if (option == Size) { |
1131 if (option == Size) { |