Skip to content
Commit 99b9229b authored by Tomaz Canabrava's avatar Tomaz Canabrava
Browse files

Declare the Static Const Char on the .cpp file



Since the Static const char * items are private and nothing
should access them besides the MainWindow class, declare
them inside of the .cpp file with static linkage, this way
a few good things happen: they are not exported as symbols
to any other class (not even with private linkage) and also
if we need to add a new one, on the .cpp, the only compiled
file will be the cpp, instead of the tons of files that include
mainwindow.h

Signed-off-by: default avatarTomaz Canabrava <tomaz.canabrava@intel.com>
parent 91ae7330
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment