mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
[win-linux] remove unused comments
This commit is contained in:
@ -93,7 +93,6 @@ HEADERS += \
|
||||
$$PWD/src/utils.h \
|
||||
$$PWD/src/cstyletweaks.h \
|
||||
$$PWD/src/chelp.h \
|
||||
#$$PWD/src/csplash.h \
|
||||
$$PWD/src/cfilechecker.h \
|
||||
$$PWD/src/clogger.h \
|
||||
$$PWD/src/clangater.h \
|
||||
@ -106,10 +105,6 @@ HEADERS += \
|
||||
$$PWD/src/ceventdriver.h \
|
||||
$$PWD/src/cappeventfilter.h \
|
||||
$$PWD/src/cthemes.h
|
||||
# src/ctabbar_p.h \
|
||||
# src/ctabstyle.h \
|
||||
# src/ctabstyle_p.h
|
||||
# src/components/casclabel.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/src/windows/cmainwindow.cpp \
|
||||
@ -130,7 +125,6 @@ SOURCES += \
|
||||
$$PWD/src/components/cfullscrwidget.cpp \
|
||||
$$PWD/src/components/cprintdialog.cpp \
|
||||
$$PWD/src/components/ctooltip.cpp \
|
||||
#$$PWD/src/csplash.cpp \
|
||||
$$PWD/src/main.cpp \
|
||||
$$PWD/src/ccefeventstransformer.cpp \
|
||||
$$PWD/src/cascapplicationmanagerwrapper.cpp \
|
||||
@ -149,8 +143,6 @@ SOURCES += \
|
||||
$$PWD/src/ceventdriver.cpp \
|
||||
$$PWD/src/cappeventfilter.cpp \
|
||||
$$PWD/src/cthemes.cpp
|
||||
# src/ctabstyle.cpp
|
||||
# src/components/casclabel.cpp
|
||||
|
||||
updmodule:!build_xp {
|
||||
HEADERS += $$PWD/src/cupdatemanager.h
|
||||
@ -213,8 +205,6 @@ core_linux {
|
||||
$$PWD/extras/update-daemon/src/classes/csocket.h
|
||||
|
||||
SOURCES += $$PWD/src/windows/platform_linux/cx11decoration.cpp \
|
||||
#$$PWD/src/windows/platform_linux/gtk_addon.cpp \
|
||||
#$$PWD/src/windows/platform_linux/cx11caption.cpp \
|
||||
$$PWD/src/windows/platform_linux/cwindowplatform.cpp \
|
||||
$$PWD/src/platform_linux/cdialogopenssl.cpp \
|
||||
$$PWD/src/platform_linux/cdialogcertificateinfo.cpp \
|
||||
|
||||
@ -39,7 +39,6 @@
|
||||
#include "utils.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
//#define WINVER 0x0500
|
||||
# include <windows.h>
|
||||
#else
|
||||
# include "cascapplicationmanagerwrapper.h"
|
||||
|
||||
@ -57,7 +57,6 @@ int main( int argc, char *argv[] )
|
||||
WCHAR * cm_line = GetCommandLine();
|
||||
InputArgs::init(cm_line);
|
||||
#else
|
||||
//qputenv("LC_ALL", "en_US.UTF8");
|
||||
qputenv("QT_QPA_PLATFORM", "xcb");
|
||||
qputenv("GDK_BACKEND", "x11");
|
||||
InputArgs::init(argc, argv);
|
||||
|
||||
@ -38,9 +38,6 @@
|
||||
#include "updatedialog.h"
|
||||
#include "cascapplicationmanagerwrapper.h"
|
||||
#include <gdk/gdkx.h>
|
||||
//extern "C" {
|
||||
//#include "gtk_resources.h"
|
||||
//}
|
||||
|
||||
#define toCharPtr(qstr) qstr.toLocal8Bit().data()
|
||||
#define TEXT_SKIP toCharPtr(QObject::tr("Skip this version"))
|
||||
@ -73,8 +70,6 @@ int WinDlg::showDialog(QWidget *parent,
|
||||
WindowHelper::CParentDisable oDisabler(parent);
|
||||
Window parent_xid = (parent) ? (Window)parent->winId() : 0L;
|
||||
|
||||
// GResource *resource = gtk_resources_get_resource();
|
||||
// g_resources_register(resource);
|
||||
gtk_init(NULL, NULL);
|
||||
GtkDialogFlags flags;
|
||||
flags = (GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT);
|
||||
|
||||
@ -245,7 +245,6 @@ bool CWindowPlatform::nativeEvent(const QByteArray &eventType, void *message, lo
|
||||
|
||||
case WM_KEYDOWN: {
|
||||
if (msg->wParam == VK_F5 || msg->wParam == VK_F6 || msg->wParam == VK_F7) {
|
||||
//SendMessage(msg->hwnd, WM_KEYDOWN, msg->wParam, msg->lParam);
|
||||
} else
|
||||
if (msg->wParam == VK_TAB) {
|
||||
SetFocus(HWND(winId()));
|
||||
|
||||
Reference in New Issue
Block a user