diff --git a/app/config.h b/app/config.h index 197ed28..3ccdbbb 100644 --- a/app/config.h +++ b/app/config.h @@ -4,10 +4,10 @@ // App version #define QBREAK_VERSION_MAJOR 0 #define QBREAK_VERSION_MINOR 1 -#define QBREAK_VERSION_SUFFIX 16 +#define QBREAK_VERSION_SUFFIX 17 // How often UI is updated - interval in seconds -#define INTERVAL_UPDATE_UI (15) +#define INTERVAL_UPDATE_UI (10) // How often progress bar is updated - interval in milliseconds #define INTERVAL_UPDATE_PROGRESS (1000) diff --git a/app/idle_tracking.cpp b/app/idle_tracking.cpp index 4d91ba3..f2543a7 100644 --- a/app/idle_tracking.cpp +++ b/app/idle_tracking.cpp @@ -210,6 +210,7 @@ int get_idle_time_kde_wayland() #endif +static bool Warning_X11InWayland = false; int get_idle_time_dynamically() { const char* wl_display = std::getenv("WAYLAND_DISPLAY"); @@ -235,8 +236,14 @@ int get_idle_time_dynamically() #else // Restrict to X11 if (wl_display) + { + // One time error message + if (!Warning_X11InWayland) { + qDebug() << "Wayland is found, but app built for X11 only. Idle tracking is not supported."; + Warning_X11InWayland = true; + } return 0; - + } return get_idle_time_x11(); #endif } diff --git a/scripts/build_linux_qt6.sh b/scripts/build_linux_qt6.sh index 40264f1..b349889 100755 --- a/scripts/build_linux_qt6.sh +++ b/scripts/build_linux_qt6.sh @@ -2,9 +2,9 @@ # I use this script on two different hosts so there are logic to find proper Qt installation -export QT_HOME=/home/$USER/tools/qt/6.4.2/gcc_64 +export QT_HOME=/home/$USER/tools/qt/6.8.0/gcc_64 if [ ! -d "$QT_HOME" ] ; then - export QT_HOME=/home/$USER/tools/qt/6.4.2/gcc_64 + export QT_HOME=/home/$USER/tools/qt/6.8.0/gcc_64 fi # Build .appimage diff --git a/scripts/build_linux_qt6_debug.sh b/scripts/build_linux_qt6_debug.sh index 14599cb..844959a 100755 --- a/scripts/build_linux_qt6_debug.sh +++ b/scripts/build_linux_qt6_debug.sh @@ -2,9 +2,9 @@ # I use this script on two different hosts so there are logic to find proper Qt installation -export QT_HOME=/home/$USER/tools/qt/6.4.2/gcc_64 +export QT_HOME=/home/$USER/tools/qt/6.8.0/gcc_64 if [ ! -d "$QT_HOME" ] ; then - export QT_HOME=/home/$USER/tools/qt/6.4.2/gcc_64 + export QT_HOME=/home/$USER/tools/qt/6.8.0/gcc_64 fi # Build .appimage diff --git a/scripts/linuxdeployqt b/scripts/linuxdeployqt index 2d65297..be8cf18 100755 Binary files a/scripts/linuxdeployqt and b/scripts/linuxdeployqt differ