Наша сборка Qt VS Tools
giy
2022-09-02 ca47896204482bf4a6979e3838bf7f09f61cebeb
QtVsTools.Package/Editors/Editor.QtResourceEditor.cs
@@ -29,7 +29,7 @@
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Shell;
namespace QtVsTools.Editors
{
@@ -44,18 +44,13 @@
        public override string ExecutableName => "QrcEditor.exe";
        protected override string GetToolsPath()
        {
            return QtVsToolsPackage.Instance?.PkgInstallPath;
        }
        protected override string GetToolsPath() =>
            QtVsToolsPackage.Instance?.PkgInstallPath;
        public override Func<string, bool> WindowFilter =>
            caption => caption.StartsWith(Title);
        protected override string GetTitle(Process editorProcess)
        {
            return Title;
        }
        protected override string GetTitle(Process editorProcess) => Title;
        protected override bool Detached => QtVsToolsPackage.Instance.Options.ResourceEditorDetached;
    }