mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
removed some more pointers
This commit is contained in:
parent
c83fc043e0
commit
a566a74ef0
2 changed files with 1 additions and 4 deletions
|
@ -36,7 +36,6 @@ QuickSwitcherPopup::QuickSwitcherPopup(QWidget *parent)
|
|||
parent)
|
||||
, switcherModel_(this)
|
||||
, switcherItemDelegate_(this)
|
||||
, openPages_(openPages())
|
||||
{
|
||||
this->setWindowFlag(Qt::Dialog);
|
||||
this->setActionOnFocusLoss(BaseWindow::ActionOnFocusLoss::Delete);
|
||||
|
@ -95,7 +94,7 @@ void QuickSwitcherPopup::updateSuggestions(const QString &text)
|
|||
this->switcherModel_.clear();
|
||||
|
||||
// Add items for navigating to different splits
|
||||
for (auto *sc : this->openPages_)
|
||||
for (auto *sc : openPages())
|
||||
{
|
||||
const QString &tabTitle = sc->getTab()->getTitle();
|
||||
const auto splits = sc->getSplits();
|
||||
|
|
|
@ -41,8 +41,6 @@ private:
|
|||
QuickSwitcherModel switcherModel_;
|
||||
SwitcherItemDelegate switcherItemDelegate_;
|
||||
|
||||
QSet<SplitContainer *> openPages_;
|
||||
|
||||
void initWidgets();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue