Compare commits

..

2 Commits

Author SHA1 Message Date
64ef7d9c87 bug in variable initialization 2025-03-24 14:42:27 +08:00
381054b340 update RsyncUI.pro 2025-03-24 14:04:45 +08:00
3 changed files with 13 additions and 11 deletions

View File

@ -2,6 +2,7 @@ QT += core gui
QT += KItemViews
QT += KCompletion
QT += widgets
QT += network
LIBS += -lqt5keychain
@ -14,29 +15,29 @@ CONFIG += c++17
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
downloadfile.cpp \
main.cpp \
downloadfile.cpp \
main.cpp \
mainwindow.cpp \
password.cpp \
tools.cpp
HEADERS += \
version.h\
downloadfile.h \
version.h\
downloadfile.h \
mainwindow.h \
password.h \
tools.h
FORMS += \
about.ui \
configuration.ui \
about.ui \
configuration.ui \
mainwindow.ui
TRANSLATIONS += \
RsyncUI_fr_FR.ts
RsyncUI_fr_FR.ts
INCLUDEPATH += \
/usr/include/KF5 \
/usr/include/KF5 \
/usr/include/qt5keychain \
# Default rules for deployment.
@ -52,7 +53,7 @@ INSTALLS += icon
#RESOURCES +=
DISTFILES += \
RsyncUI.desktop
RsyncUI.desktop
lang.path = /languages/fr_FR/LC_MESSAGES/
lang.path = /usr/share/locale/

View File

@ -1060,6 +1060,7 @@ void MainWindow::on_treeWidget_itemClicked(QTreeWidgetItem *item, bool downloadD
if (this->treeviewClicked == true)
{
info(DEBUGMACRO, "double click ignored");
return;
}

View File

@ -120,8 +120,8 @@ class MainWindow : public QMainWindow
QSystemTrayIcon * trayIcon;
QString icon = "/usr/share/icons/RsyncUI.png";
bool rescan = false;
bool stopDlAsked;
bool treeviewClicked;
bool stopDlAsked = false;
bool treeviewClicked = false;
bool initialization = true;
bool exiting = false;