mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
Fix Qt 4 build: QGridLayout::getItemPosition ()
is not constant :(
This commit is contained in:
parent
9f8402697b
commit
adde87a99e
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
namespace
|
||||
{
|
||||
int
|
||||
itemColumnSpan (const QGridLayout * layout, const QLayoutItem * item)
|
||||
itemColumnSpan (QGridLayout * layout, const QLayoutItem * item)
|
||||
{
|
||||
for (int i = 0, count = layout->count (); i < count; ++i)
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ void
|
|||
ColumnResizer::update ()
|
||||
{
|
||||
int maxWidth = 0;
|
||||
for (const QGridLayout * const layout: myLayouts)
|
||||
for (QGridLayout * const layout: myLayouts)
|
||||
{
|
||||
for (int i = 0, count = layout->rowCount (); i < count; ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue