Changeset 186 for smplayer/vendor/current/src/lineedit_with_icon.cpp
- Timestamp:
- Jan 24, 2017, 12:24:46 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/lineedit_with_icon.cpp
r179 r186 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 6Ricardo Villalba <[email protected]>2 Copyright (C) 2006-201 Ricardo Villalba <[email protected]> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 36 36 //qDebug("height: %d, icon height: %d", height(), p.height()); 37 37 int max_height = 16; 38 if (max_height > height() ) max_height = height() - 4;38 if (max_height > height()) max_height = height() - 4; 39 39 if (pixmap.height() > max_height) p = pixmap.scaledToHeight(max_height, Qt::SmoothTransformation); 40 40 button->setIcon(p);
Note:
See TracChangeset
for help on using the changeset viewer.
