~petr-kubanek/stellarium/stellarium

« back to all changes in this revision

Viewing changes to plugins/SolarSystemEditor/src/gui/SolarSystemManagerWindow.cpp

  • Committer: Georg Zotti
  • Date: 2017-05-22 14:27:36 UTC
  • Revision ID: georg.zotti@univie.ac.at-20170522142736-sw2kjxe3ntlwba5u
Q_NULLPTR refactoring completed for all plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
SolarSystemManagerWindow::SolarSystemManagerWindow()
39
39
        : StelDialog("SolarSystemEditor")
40
 
        , manualImportWindow(NULL)
 
40
        , manualImportWindow(Q_NULLPTR)
41
41
{
42
42
        ui = new Ui_solarSystemManagerWindow();
43
43
        mpcImportWindow = new MpcImportWindow();
128
128
 
129
129
void SolarSystemManagerWindow::newImportManual()
130
130
{
131
 
        if (manualImportWindow == NULL)
 
131
        if (manualImportWindow == Q_NULLPTR)
132
132
        {
133
133
                manualImportWindow = new ManualImportWindow();
134
134
                connect(manualImportWindow, SIGNAL(visibleChanged(bool)), this, SLOT(resetImportManual(bool)));
150
150
                populateSolarSystemList();
151
151
 
152
152
                delete manualImportWindow;
153
 
                manualImportWindow = NULL;
 
153
                manualImportWindow = Q_NULLPTR;
154
154
 
155
155
                //This window is in the background, bring it to the foreground
156
156
                dialog->setVisible(true);