Ignore:
Timestamp:
Aug 31, 2016, 5:31:04 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.8.0

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/actionseditor.cpp

    r176 r181  
    4545#include "shortcutgetter.h"
    4646
     47#if QT_VERSION >= 0x050000
     48#include "myscroller.h"
     49#endif
    4750
    4851/*
     
    151154
    152155        actionsTable = new QTableWidget(0, COL_NAME +1, this);
    153         actionsTable->setSelectionMode( QAbstractItemView::SingleSelection );
     156        actionsTable->setSelectionMode(QAbstractItemView::SingleSelection);
     157        actionsTable->setSelectionBehavior(QAbstractItemView::SelectRows);
    154158        actionsTable->verticalHeader()->hide();
    155159
    156160#if QT_VERSION >= 0x050000
     161        MyScroller::setScroller(actionsTable->viewport());
     162
    157163        actionsTable->horizontalHeader()->setSectionResizeMode(COL_DESC, QHeaderView::Stretch);
    158164        actionsTable->horizontalHeader()->setSectionResizeMode(COL_NAME, QHeaderView::Stretch);
     
    165171
    166172        actionsTable->setAlternatingRowColors(true);
    167 #if USE_SHORTCUTGETTER
    168         actionsTable->setSelectionBehavior(QAbstractItemView::SelectRows);
    169         actionsTable->setSelectionMode(QAbstractItemView::ExtendedSelection);
    170 #endif
    171173        //actionsTable->setItemDelegateForColumn( COL_SHORTCUT, new MyDelegate(actionsTable) );
    172174
Note: See TracChangeset for help on using the changeset viewer.