mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Get rid of some global variables
Remove two global variables storing the application short name which is the same as the organisation name and the application icon which is only used in one place.
This commit is contained in:
@@ -75,7 +75,7 @@ int main( int argc, char ** argv )
|
||||
{
|
||||
QApplication a( argc, argv );
|
||||
a.setOrganizationName("sqlitebrowser");
|
||||
a.setApplicationName("SQLite Database Browser " + QString(APP_VERSION));
|
||||
a.setApplicationName("SQLite Database Browser");
|
||||
|
||||
// Set character encoding to UTF8
|
||||
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
|
||||
|
||||
Reference in New Issue
Block a user