MEOW mode: Set icon from main window on editor window

This commit is contained in:
heckflosse
2019-02-27 13:54:30 +01:00
parent cd6da9db0c
commit 867c0ea027

View File

@@ -53,15 +53,7 @@ EditWindow* EditWindow::getInstance(RTWindow* p, bool restore)
EditWindow::EditWindow (RTWindow* p) : parent(p) , isFullscreen(false), isClosed(true)
{
Glib::ustring fName = "rawtherapee-logo-24.png";
Glib::ustring fullPath = rtengine::findIconAbsolutePath(fName);
try {
set_default_icon_from_file (fullPath);
} catch(Glib::Exception& ex) {
printf ("%s\n", ex.what().c_str());
}
set_default_icon(p->get_icon());
set_title_decorated("");
set_modal(false);
set_resizable(true);