bug in variable initialization

This commit is contained in:
DTux committed 2025-03-24 14:42:27 +08:00
1 parent 381054b340
commit 64ef7d9c87
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -1060,6 +1060,7 @@ void MainWindow::on_treeWidget_itemClicked(QTreeWidgetItem *item, bool downloadD
if (this->treeviewClicked == true) if (this->treeviewClicked == true)
{ {
info(DEBUGMACRO, "double click ignored");
return; return;
} }
+2 -2
View File
@@ -120,8 +120,8 @@ class MainWindow : public QMainWindow
QSystemTrayIcon * trayIcon; QSystemTrayIcon * trayIcon;
QString icon = "/usr/share/icons/RsyncUI.png"; QString icon = "/usr/share/icons/RsyncUI.png";
bool rescan = false; bool rescan = false;
bool stopDlAsked; bool stopDlAsked = false;
bool treeviewClicked; bool treeviewClicked = false;
bool initialization = true; bool initialization = true;
bool exiting = false; bool exiting = false;