- Add a new Log() function to replace ad-hoc std::cout calls wrapped in debugMode checks
- Remove debugMode from classes that don't need it (i.e all of them)
This commit is contained in:
@@ -30,7 +30,6 @@ public:
|
||||
void setBackgroundOpacity(unsigned int opacity);
|
||||
void warn(std::string text);
|
||||
void setOverlay(std::unique_ptr<Overlay> &overlay);
|
||||
void setDebugMode(bool debugModeIn);
|
||||
void setBaseOptions(const ImageDisplayOptions &baseOptionsIn);
|
||||
const ImageDisplayOptions &getBaseOptions();
|
||||
void setImageSwitcher(ImageSwitcher *switcherIn);
|
||||
@@ -50,7 +49,6 @@ private:
|
||||
QByteArray downloadedData;
|
||||
QNetworkAccessManager *networkManager = nullptr;
|
||||
QNetworkReply *pendingReply = nullptr;
|
||||
bool debugMode = false;
|
||||
QSize lastScreenSize = {0,0};
|
||||
|
||||
std::unique_ptr<Overlay> overlay;
|
||||
|
||||
Reference in New Issue
Block a user