Changeset 188 for smplayer/trunk/src/lineedit_with_icon.cpp
- Timestamp:
- Jan 24, 2017, 12:41:54 PM (9 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/lineedit_with_icon.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 186
- Property svn:mergeinfo changed
-
smplayer/trunk/src/lineedit_with_icon.cpp
r181 r188 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.
