MCPcopy Create free account
hub / github.com/KDE/labplot / delay

Function delay

src/frontend/datasources/ImportFileWidget.cpp:1749–1756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1747}
1748
1749inline void delay(int millisecondsWait)
1750{
1751 QEventLoop loop;
1752 QTimer t;
1753 t.connect(&t, &QTimer::timeout, &loop, &QEventLoop::quit);
1754 t.start(millisecondsWait);
1755 loop.exec();
1756}
1757
1758void ImportFileWidget::refreshPreview() {
1759 DEBUG(Q_FUNC_INFO)

Callers 1

refreshPreviewMethod · 0.85

Calls 2

execMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected