Fix preferences dialog.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-about.cpp
index 14cfa9365d6228da1f6e20d5f473a06ad814b65a..a25d4c34a36c4eb4964039ee9268f2655753f4f3 100644 (file)
 #include "dhcpcd-qt.h"
 
 DhcpcdAbout::DhcpcdAbout(DhcpcdQt *parent)
-    : QDialog(NULL)
+    : QDialog(parent)
 {
        QVBoxLayout *layout;
 
        this->parent = parent;
        resize(300, 200);
+       setWindowIcon(DhcpcdQt::getIcon("status", "network-transmit-receive"));
        setWindowTitle(tr("About Network Configurator"));
        layout = new QVBoxLayout(this);