summaryrefslogtreecommitdiffstats
path: root/src/sdk/tabcontroller.h
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2022-10-17 17:03:22 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2022-10-18 10:36:38 +0300
commit35d2b7bc8e8fd98c963f4c9ddcf4eb17b4f5a5cd (patch)
treea80c1c428b0f9a497acc952fcfa9e5a07ef1343f /src/sdk/tabcontroller.h
parent20b0089be0c45ebf682f48e5d721762aa6eeda6c (diff)
Show information dialog after clearing metadata cache
Show dialog indicating success or failure, including the error message, to add some feedback for the action. Adjust related to code to handle return value of GenericDataCache<T>::clear() function, and fix the wrong return value when an error occurs while deleting cache subdirectories. Change-Id: Ib35f2db3711d85f567f7918c903aebf4236d7041 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/sdk/tabcontroller.h')
-rw-r--r--src/sdk/tabcontroller.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdk/tabcontroller.h b/src/sdk/tabcontroller.h
index a92e724b4..236ff9fb8 100644
--- a/src/sdk/tabcontroller.h
+++ b/src/sdk/tabcontroller.h
@@ -61,6 +61,7 @@ private Q_SLOTS:
void restartWizard();
void onSettingsButtonClicked();
void onAboutApplicationClicked();
+ void onClearCacheClicked();
void onCurrentIdChanged(int newId);
void onNetworkSettingsChanged(const QInstaller::Settings &settings);