Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
Vivy
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Wiki externe
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Elliu
Vivy
Validations
b11814ea
Vérifiée
Valider
b11814ea
rédigé
Il y a 3 ans
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
BUILD: Fix gcc warnings
parent
cc037f16
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
3
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
3 fichiers modifiés
PreCompiledHeaders.cmake
+1
-0
1 ajout, 0 suppression
PreCompiledHeaders.cmake
src/Lib/Log.cc
+1
-1
1 ajout, 1 suppression
src/Lib/Log.cc
src/VivyApplication.cc
+6
-1
6 ajouts, 1 suppression
src/VivyApplication.cc
avec
8 ajouts
et
2 suppressions
PreCompiledHeaders.cmake
+
1
−
0
Voir le fichier @
b11814ea
...
@@ -25,6 +25,7 @@ set(STL_INC
...
@@ -25,6 +25,7 @@ set(STL_INC
<mutex>
<mutex>
<iomanip>
<iomanip>
<filesystem>
<filesystem>
<bit>
)
)
set
(
EXT_INC PRIVATE
set
(
EXT_INC PRIVATE
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
src/Lib/Log.cc
+
1
−
1
Voir le fichier @
b11814ea
...
@@ -142,7 +142,7 @@ LogMessage::LogMessage(LogMessage &&other) noexcept
...
@@ -142,7 +142,7 @@ LogMessage::LogMessage(LogMessage &&other) noexcept
,
parentLogger
(
other
.
parentLogger
)
,
parentLogger
(
other
.
parentLogger
)
{
{
std
::
memcpy
(
this
,
&
other
,
sizeof
(
LogMessage
));
std
::
memcpy
(
this
,
&
other
,
sizeof
(
LogMessage
));
std
::
memset
(
&
other
,
0
,
sizeof
(
LogMessage
));
std
::
memset
(
reinterpret_cast
<
void
*>
(
&
other
)
,
0
,
sizeof
(
LogMessage
));
}
}
LogMessage
&&
LogMessage
&&
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
src/VivyApplication.cc
+
6
−
1
Voir le fichier @
b11814ea
...
@@ -33,6 +33,7 @@ VivyApplication::setTheme(Theme theme) noexcept
...
@@ -33,6 +33,7 @@ VivyApplication::setTheme(Theme theme) noexcept
QFile
stylesheet
(
sheet
);
QFile
stylesheet
(
sheet
);
if
(
!
stylesheet
.
exists
())
{
if
(
!
stylesheet
.
exists
())
{
logFatal
()
<<
"Missing stylesheet!"
;
logFatal
()
<<
"Missing stylesheet!"
;
exit
(
EXIT_FAILURE
);
}
else
{
}
else
{
stylesheet
.
open
(
QFile
::
ReadOnly
|
QFile
::
Text
);
stylesheet
.
open
(
QFile
::
ReadOnly
|
QFile
::
Text
);
QTextStream
stylesheetStream
(
&
stylesheet
);
QTextStream
stylesheetStream
(
&
stylesheet
);
...
@@ -92,6 +93,9 @@ VivyApplication::exec() noexcept
...
@@ -92,6 +93,9 @@ VivyApplication::exec() noexcept
return
QApplication
::
exec
();
return
QApplication
::
exec
();
}
}
}
}
logFatal
()
<<
"Unreachable: undefined ApplicationType"
;
return
1
;
}
}
QFont
QFont
...
@@ -111,7 +115,8 @@ VivyApplication::getApplicationFont(Font id) const noexcept
...
@@ -111,7 +115,8 @@ VivyApplication::getApplicationFont(Font id) const noexcept
}
}
// Let the program crash
// Let the program crash
logFatal
()
<<
"Unreachable"
;
logError
()
<<
"Unreachable: undefined font id"
;
return
getFontFromId
(
fontIdRegular
);
}
}
MainWindow
*
MainWindow
*
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter