Diff-View-Icon: Semantisch passende Icons mit Fallbacks verwenden

Das Icon zum Laden von Diff-PDFs verwendet jetzt semantisch korrekte Icons:
- Primär: view-split-left-right (zeigt Split-View-Konzept)
- Fallback: vcs-diff (universelles Diff-Symbol)
- Letzter Fallback: system-search

Dies verbessert die visuelle Semantik und Plattform-Kompatibilität.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-20 13:56:38 +01:00
parent c27c649142
commit 984f08cfc5
+7 -1
View File
@@ -1447,7 +1447,13 @@ class MainWindow(QMainWindow):
# Icon-Label # Icon-Label
icon_label = QLabel() icon_label = QLabel()
icon_label.setPixmap(QIcon.fromTheme("document-preview").pixmap(16, 16)) # Icon für Diff-View mit Fallbacks
icon = QIcon.fromTheme("view-split-left-right")
if icon.isNull():
icon = QIcon.fromTheme("vcs-diff")
if icon.isNull():
icon = QIcon.fromTheme("system-search") # Letzter Fallback
icon_label.setPixmap(icon.pixmap(16, 16))
icon_label.setCursor(QCursor(Qt.CursorShape.PointingHandCursor)) icon_label.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
icon_label.setToolTip("Diff-PDF in Viewer laden") icon_label.setToolTip("Diff-PDF in Viewer laden")