]> sigrok.org Git - sigrok-qt.git/commitdiff
srd: don't load all protocol decoders unless we really need to.
authorBert Vermeulen <redacted>
Tue, 14 Feb 2012 02:28:53 +0000 (03:28 +0100)
committerBert Vermeulen <redacted>
Tue, 14 Feb 2012 02:28:53 +0000 (03:28 +0100)
main.cpp

index de3932c25a40407d091ea72d63c6c1d1bceb6b63..7afaa75abc7524c5a46032194652c0714b7c8f11 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -67,5 +67,10 @@ int main(int argc, char *argv[])
        w = new MainWindow;
        w->show();
 
+       /* The GUI wants to show a list of all PDs before use, so we
+        * might as well load them now.
+        */
+       srd_load_all_decoders();
+
        return a.exec();
 }