git-svn-id: svn://db.shs.com.ru/libs@338 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -233,7 +233,7 @@ void EMainWindow::changedDock() {
|
||||
tbars << t;
|
||||
connect(t, SIGNAL(tabCloseRequested(int)), this, SLOT(closeDock(int)));
|
||||
t->installEventFilter(this);
|
||||
t->setIconSize(dockTabsIconSIze());
|
||||
t->setIconSize(dockTabsIconSize());
|
||||
t->setTabsClosable(true);
|
||||
}
|
||||
// qDebug() << "tab" << t << t->count();
|
||||
@@ -241,6 +241,7 @@ void EMainWindow::changedDock() {
|
||||
dock = (QDockWidget * )t->tabData(i).toULongLong();
|
||||
//qDebug() << i << t->tabData(i);
|
||||
if (dock == 0) continue;
|
||||
t->setIconSize(dockTabsIconSize());
|
||||
t->setTabIcon(i, dock->windowIcon());
|
||||
docks_tabs << dock;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user