summaryrefslogtreecommitdiffstats
path: root/src/libgui/editor_manager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-26 02:18:34 +0900
committerMichele Calgaro <[email protected]>2023-11-26 02:18:34 +0900
commit753b5724e1fdbfb87852395722717a9c1643baa3 (patch)
tree880851e9a79a9e990e318adf0fe78cea203fb44f /src/libgui/editor_manager.cpp
parente556daea65624b0fa363f8d305fd1c4996f3ee5e (diff)
downloadpiklab-753b5724e1fdbfb87852395722717a9c1643baa3.tar.gz
piklab-753b5724e1fdbfb87852395722717a9c1643baa3.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/libgui/editor_manager.cpp')
-rw-r--r--src/libgui/editor_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgui/editor_manager.cpp b/src/libgui/editor_manager.cpp
index 14da332..d6747f3 100644
--- a/src/libgui/editor_manager.cpp
+++ b/src/libgui/editor_manager.cpp
@@ -161,7 +161,7 @@ void EditorManager::updateTitles()
static_cast<EditorTabBar *>(tabBar())->setReadOnly(indexOf(*it), (*it)->isReadOnly());
TQPixmap pixmap;
if ( (*it)->isModified() ) pixmap = modified;
- else if ( ::tqqt_cast< ::DeviceEditor *>(*it)==0 ) pixmap = PURL::icon((*it)->fileType());
+ else if ( ::tqt_cast< ::DeviceEditor *>(*it)==0 ) pixmap = PURL::icon((*it)->fileType());
else pixmap = chip;
changeTab(*it, pixmap.isNull() ? def : pixmap, title(**it));
}