summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Collins <solemnwarning@solemnwarning.net>2025-04-16 21:05:48 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-28 21:11:09 +0900
commitb2cb25ce7dde70c48747856d22dfac03f27033e1 (patch)
tree40e3e2ce56b49bff825a808404414ac1ae6bf104
parentee1f23d33da9a253c87a8f73e3decc7b97e19a85 (diff)
downloadtdenetwork-b2cb25ce7dde70c48747856d22dfac03f27033e1.tar.gz
tdenetwork-b2cb25ce7dde70c48747856d22dfac03f27033e1.zip
Use the normal mouse pointer when local mouse pointer is enabled in krdc.
The previously-included mouse pointer is invisible against dark backgrounds. https://mirror.git.trinitydesktop.org/gitea/TDE/tdenetwork/issues/98 (cherry picked from commit 40e3e626e4cc8bb2d65788e3c097ddae4192c4d8)
-rw-r--r--krdc/CMakeLists.txt2
-rw-r--r--krdc/Makefile.am2
-rw-r--r--krdc/pointcursor.pngbin143 -> 0 bytes
-rw-r--r--krdc/pointcursormask.pngbin146 -> 0 bytes
-rw-r--r--krdc/vnc/kvncview.cpp7
5 files changed, 3 insertions, 8 deletions
diff --git a/krdc/CMakeLists.txt b/krdc/CMakeLists.txt
index d58b4b45..c4351514 100644
--- a/krdc/CMakeLists.txt
+++ b/krdc/CMakeLists.txt
@@ -33,7 +33,7 @@ link_directories(
tde_install_icons( krdc )
install( FILES
- pointcursor.png pointcursormask.png pinup.png pindown.png
+ pinup.png pindown.png
iconify.png close.png
DESTINATION ${DATA_INSTALL_DIR}/krdc/pics )
diff --git a/krdc/Makefile.am b/krdc/Makefile.am
index 59e6b4db..341d5bda 100644
--- a/krdc/Makefile.am
+++ b/krdc/Makefile.am
@@ -17,7 +17,7 @@ noinst_HEADERS = main.h krdc.h vidmode.h kfullscreenpanel.h events.h \
EXTRA_DIST = README TODO
appdatadir = $(kde_datadir)/krdc/pics
-appdata_DATA = pointcursor.png pointcursormask.png pinup.png pindown.png \
+appdata_DATA = pinup.png pindown.png \
iconify.png close.png
dnssddatadir = $(kde_datadir)/zeroconf
diff --git a/krdc/pointcursor.png b/krdc/pointcursor.png
deleted file mode 100644
index 368fc5b7..00000000
--- a/krdc/pointcursor.png
+++ /dev/null
Binary files differ
diff --git a/krdc/pointcursormask.png b/krdc/pointcursormask.png
deleted file mode 100644
index 6d2808f8..00000000
--- a/krdc/pointcursormask.png
+++ /dev/null
Binary files differ
diff --git a/krdc/vnc/kvncview.cpp b/krdc/vnc/kvncview.cpp
index 88219776..30cb2356 100644
--- a/krdc/vnc/kvncview.cpp
+++ b/krdc/vnc/kvncview.cpp
@@ -97,12 +97,7 @@ KVncView::KVncView(TQWidget *parent,
connect(m_cb, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(selectionChanged()));
connect(m_cb, TQ_SIGNAL(dataChanged()), this, TQ_SLOT(clipboardChanged()));
- TDEStandardDirs *dirs = TDEGlobal::dirs();
- TQBitmap cursorBitmap(dirs->findResource("appdata",
- "pics/pointcursor.png"));
- TQBitmap cursorMask(dirs->findResource("appdata",
- "pics/pointcursormask.png"));
- m_cursor = TQCursor(cursorBitmap, cursorMask);
+ m_cursor = TQt::ArrowCursor;
if ((quality != QUALITY_UNKNOWN) ||
!encodings.isNull())