macos related fixes
This commit is contained in:
parent
5bad3b2db7
commit
b9b1cb07d1
@ -16,10 +16,6 @@
|
|||||||
|
|
||||||
#include <QTextCodec>
|
#include <QTextCodec>
|
||||||
|
|
||||||
#if defined(Q_OS_MACOS)
|
|
||||||
extern void disableWindowTabbing();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
qSetMessagePattern(QSL("time=\"%{time process}\" type=\"%{type}\" -> %{message}"));
|
qSetMessagePattern(QSL("time=\"%{time process}\" type=\"%{type}\" -> %{message}"));
|
||||||
|
|
||||||
@ -51,7 +47,6 @@ int main(int argc, char* argv[]) {
|
|||||||
|
|
||||||
#if defined(Q_OS_MACOS)
|
#if defined(Q_OS_MACOS)
|
||||||
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
|
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
|
||||||
disableWindowTabbing();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// We create our own "arguments" list as Qt strips something
|
// We create our own "arguments" list as Qt strips something
|
||||||
@ -116,7 +111,8 @@ int main(int argc, char* argv[]) {
|
|||||||
main_window.tabWidget()->feedMessageViewer()->respondToMainWindowResizes();
|
main_window.tabWidget()->feedMessageViewer()->respondToMainWindowResizes();
|
||||||
main_window.tabWidget()->feedMessageViewer()->feedsView()->loadAllExpandStates();
|
main_window.tabWidget()->feedMessageViewer()->feedsView()->loadAllExpandStates();
|
||||||
|
|
||||||
qApp->parseCmdArgumentsFromOtherInstance(qApp->cmdParser()->positionalArguments().join(QSL(ARGUMENTS_LIST_SEPARATOR)));
|
qApp
|
||||||
|
->parseCmdArgumentsFromOtherInstance(qApp->cmdParser()->positionalArguments().join(QSL(ARGUMENTS_LIST_SEPARATOR)));
|
||||||
|
|
||||||
return Application::exec();
|
return Application::exec();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user