Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 12, 2018
1 parent 6f0a550 commit 311ea73
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
Expand Up @@ -44,8 +44,8 @@ class ManualConnectionDialog : public de::InputDialog, public de::IPersistent
void enableJoinWhenSelected(bool joinWhenSelected);

// Implements IPersistent.
void operator >> (de::PersistentState &toState) const;
void operator << (de::PersistentState const &fromState);
void operator>>(de::PersistentState &toState) const;
void operator<<(de::PersistentState const &fromState);

signals:
void selected(de::ui::Item const *);
Expand Down
7 changes: 2 additions & 5 deletions doomsday/apps/client/include/ui/widgets/packageswidget.h
Expand Up @@ -117,11 +117,8 @@ class PackagesWidget : public de::GuiWidget, public de::IPersistent
void update();

// Implements IPersistent.
void operator >> (de::PersistentState &toState) const;
void operator << (de::PersistentState const &fromState);

//public slots:
// void refreshPackages();
void operator>>(de::PersistentState &toState) const;
void operator<<(de::PersistentState const &fromState);

signals:
void itemCountChanged(unsigned int shownItems, unsigned int totalItems);
Expand Down
Expand Up @@ -145,12 +145,12 @@ void ManualConnectionDialog::enableJoinWhenSelected(bool joinWhenSelected)
d->autoJoin = joinWhenSelected;
}

void ManualConnectionDialog::operator >> (PersistentState &toState) const
void ManualConnectionDialog::operator>>(PersistentState &toState) const
{
toState.objectNamespace().set(name() + ".address", d->usedAddress);
}

void ManualConnectionDialog::operator << (PersistentState const &fromState)
void ManualConnectionDialog::operator<<(PersistentState const &fromState)
{
d->usedAddress = fromState[name() + ".address"];
editor().setText(d->usedAddress);
Expand Down
2 changes: 1 addition & 1 deletion doomsday/sdk/libappfw/src/widgets/foldpanelwidget.cpp
Expand Up @@ -197,7 +197,7 @@ void FoldPanelWidget::preparePanelForOpening()
{
// Insert the content back into the panel.
PanelWidget::setContent(d->container);
d->container = 0;
d->container = nullptr;
}

if (d->title)
Expand Down

0 comments on commit 311ea73

Please sign in to comment.