X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.cpp;h=33870145232afdd654a750cac5046169d7051201;hp=59f4369e2990ca902d15d1a0c3dc5fbcaea9b560;hb=55547a4510d8ff310ab1ac57e69e3e51132b2c2f;hpb=d290e89f9b28f90b898a57c9f5e288602367cb3d diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 59f4369..3387014 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -812,6 +812,17 @@ QMenu* MainWindow::createPopupMenu() return nullptr; } +bool MainWindow::restoreState(const QByteArray &state, int version) +{ + (void)state; + (void)version; + + // Do nothing. We don't want Qt to handle this, or else it + // will try to restore all the dock widgets and create havoc. + + return false; +} + void MainWindow::show_session_error( const QString text, const QString info_text) {