2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Remove legacy temp download folder.

This commit is contained in:
John Preston
2020-06-23 20:02:15 +04:00
parent 4add6234b6
commit 4d65df6ca2
12 changed files with 19 additions and 210 deletions

View File

@@ -20,10 +20,6 @@ class Widget;
enum class EnterPoint : uchar;
} // namespace Intro
namespace Local {
class ClearManager;
} // namespace Local
namespace Window {
class MediaPreviewWidget;
class SectionMemento;
@@ -70,14 +66,6 @@ public:
void fixOrder();
enum TempDirState {
TempDirRemoving,
TempDirExists,
TempDirEmpty,
};
TempDirState tempDirState();
void tempDirDelete(int task);
void sendPaths();
QImage iconWithCounter(int size, int count, style::color bg, style::color fg, bool smallIcon) override;
@@ -134,17 +122,10 @@ public slots:
void showFromTray(QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::Unknown);
void toggleDisplayNotifyFromTray();
void onClearFinished(int task, void *manager);
void onClearFailed(int task, void *manager);
void onShowAddContact();
void onShowNewGroup();
void onShowNewChannel();
signals:
void tempDirCleared(int task);
void tempDirClearFailed(int task);
private:
[[nodiscard]] bool skipTrayClick() const;
@@ -174,8 +155,6 @@ private:
object_ptr<Window::Theme::WarningWidget> _testingThemeWarning = { nullptr };
Local::ClearManager *_clearManager = nullptr;
};
namespace App {