mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
2a590adba7
changed setting from String to int. changed EnumCase I used createComboBox only has an implementation that handles stringsettings. I implemented my own combobox to handle the ToastsSettings now. Not sure if this is the best way. Won't come up with something smarter for now.
23 lines
389 B
C++
23 lines
389 B
C++
#pragma once
|
|
|
|
#include "widgets/settingspages/SettingsPage.hpp"
|
|
|
|
class QPushButton;
|
|
class QListWidget;
|
|
|
|
class QVBoxLayout;
|
|
|
|
namespace chatterino {
|
|
|
|
class NotificationPage : public SettingsPage
|
|
{
|
|
public:
|
|
NotificationPage();
|
|
|
|
private:
|
|
QComboBox *createToastReactionComboBox(
|
|
std::vector<pajlada::Signals::ScopedConnection> managedConnections);
|
|
};
|
|
|
|
} // namespace chatterino
|