mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 01:32:42 +01:00 
			
		
		
		
	revert(ALabel): ref on format
This commit is contained in:
		@@ -7,7 +7,7 @@ namespace waybar {
 | 
			
		||||
 | 
			
		||||
class ALabel : public IModule {
 | 
			
		||||
 public:
 | 
			
		||||
  ALabel(const Json::Value&, const std::string& format);
 | 
			
		||||
  ALabel(const Json::Value&, const std::string format);
 | 
			
		||||
  virtual ~ALabel() = default;
 | 
			
		||||
  virtual auto update() -> void;
 | 
			
		||||
  virtual std::string getIcon(uint16_t, const std::string& alt = "");
 | 
			
		||||
@@ -24,7 +24,7 @@ class ALabel : public IModule {
 | 
			
		||||
  bool handleToggle(GdkEventButton* const& ev);
 | 
			
		||||
  bool handleScroll(GdkEventScroll*);
 | 
			
		||||
  bool alt = false;
 | 
			
		||||
  const std::string& default_format_;
 | 
			
		||||
  const std::string default_format_;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
}  // namespace waybar
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user