Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect
Commits
02ed0699
Commit
02ed0699
authored
Jun 03, 2021
by
Piyush Aggarwal
🎮
Browse files
set app style to breeze explicitly on Windows
parent
12ad4e3e
Pipeline
#63936
passed with stage
in 3 minutes and 53 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/main.cpp
View file @
02ed0699
...
...
@@ -24,6 +24,10 @@ int main(int argc, char* argv[])
aboutData
.
addAuthor
(
i18n
(
"Aleix Pol Gonzalez"
),
i18n
(
"Maintainer"
),
QStringLiteral
(
"aleixpol@kde.org"
));
KAboutData
::
setApplicationData
(
aboutData
);
#ifdef Q_OS_WIN
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
#endif
// Default to org.kde.desktop style unless the user forces another style
if
(
qEnvironmentVariableIsEmpty
(
"QT_QUICK_CONTROLS_STYLE"
))
{
QQuickStyle
::
setStyle
(
QStringLiteral
(
"org.kde.desktop"
));
...
...
indicator/main.cpp
View file @
02ed0699
...
...
@@ -42,6 +42,7 @@ int main(int argc, char** argv)
KAboutData
::
setApplicationData
(
about
);
#ifdef Q_OS_WIN
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
IndicatorHelper
helper
(
QUrl
::
fromLocalFile
(
qApp
->
applicationDirPath
()));
#else
IndicatorHelper
helper
;
...
...
kcm/kcm.cpp
View file @
02ed0699
...
...
@@ -41,6 +41,10 @@ KdeConnectKcm::KdeConnectKcm(QWidget* parent, const QVariantList& args)
about
->
addAuthor
(
i18n
(
"Albert Vaca Cintora"
));
setAboutData
(
about
);
#ifdef Q_OS_WIN
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
#endif
kcmUi
->
setupUi
(
this
);
sortProxyModel
=
new
DevicesSortProxyModel
(
devicesModel
);
...
...
smsapp/main.cpp
View file @
02ed0699
...
...
@@ -39,6 +39,10 @@ int main(int argc, char *argv[])
aboutData
.
addAuthor
(
i18n
(
"Nicolas Fella"
),
{},
QStringLiteral
(
"nicolas.fella@gmx.de"
));
KAboutData
::
setApplicationData
(
aboutData
);
#ifdef Q_OS_WIN
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
#endif
// Default to org.kde.desktop style unless the user forces another style
if
(
qEnvironmentVariableIsEmpty
(
"QT_QUICK_CONTROLS_STYLE"
))
{
QQuickStyle
::
setStyle
(
QStringLiteral
(
"org.kde.desktop"
));
...
...
urlhandler/kdeconnect-handler.cpp
View file @
02ed0699
...
...
@@ -46,6 +46,10 @@ int main(int argc, char** argv)
about
.
addAuthor
(
QStringLiteral
(
"Aleix Pol Gonzalez"
),
QString
(),
QStringLiteral
(
"aleixpol@kde.org"
)
);
KAboutData
::
setApplicationData
(
about
);
#ifdef Q_OS_WIN
QApplication
::
setStyle
(
QStringLiteral
(
"breeze"
));
#endif
QUrl
urlToShare
;
bool
open
;
{
...
...
Piyush Aggarwal
🎮
@piyushaggarwal
mentioned in merge request
!353 (closed)
·
Jun 03, 2021
mentioned in merge request
!353 (closed)
mentioned in merge request !353
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment