更新代码
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "qfileinfo.h"
|
||||
#include "qdir.h"
|
||||
#include "qprogressbar.h"
|
||||
#include "qtimer.h"
|
||||
#include "qdebug.h"
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
@@ -52,7 +53,8 @@ DeviceSizeTable::DeviceSizeTable(QWidget *parent) : QTableWidget(parent)
|
||||
this->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
this->verticalHeader()->setVisible(true);
|
||||
this->horizontalHeader()->setStretchLastSection(true);
|
||||
QMetaObject::invokeMethod(this, "load");
|
||||
//QMetaObject::invokeMethod(this, "load");
|
||||
QTimer::singleShot(10, this, SLOT(load()));
|
||||
}
|
||||
|
||||
QColor DeviceSizeTable::getBgColor() const
|
||||
|
||||
Reference in New Issue
Block a user